Topic: Enhanced original: SRCHINCR.VDM (incremental search) (1 of 3), Read 25 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Saturday, March 27, 2004 10:30 AM


Last year I modified/enhanced the VEDIT standard macro SRCHINCR.VDM
{SEARCH, Incremental search}

Due to time limitations those days it never finally got ready.

Now I finished it, but it needs some testers.


Here are the changes (additionally to the internal/technical ones):

- show the current line number at prompt
- highlight cursor line while searching

- when on a found string optionally position the cursor at
- the same vert. position in window like the original cursor pos.
- the vertical middle of the window
- a free fixed value
- no special positioning (disable feature)

- new keys [PgUp]/[PgDown] to continue search at BoF / EoF (REVERSE)
- new keys [Up]/[Down] to toggle search direction + continue search
- new key [Del] to reset search string+history; goto Begin_of_Search

To replace the original macro (and menu command) simply save the macro
with the original name in the "user-mac" directory.

http://ziemski.privat.t-online.de/vedit/macros/srchincr.vdm


Christian

 


Topic: Re: Enhanced original: SRCHINCR.VDM (incremental search) (2 of 3), Read 14 times
Conf: VEDIT Macro Library
From: Fritz Heberlein
Date: Tuesday, March 30, 2004 03:12 PM

vedit-macros Listmanager am 27 Mar 2004, 10:31:
> Now I finished it, but it needs some testers.

Christian:

I have made some tests with quite large files, and everthing works
excellent!

Fritz

 


Topic: Re: Enhanced original: SRCHINCR.VDM (incremental search) (3 of 3), Read 14 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Tuesday, April 20, 2004 04:02 PM

At 11:31 AM 3/27/2004, you wrote:
>Last year I modified/enhanced the VEDIT standard macro SRCHINCR.VDM
>{SEARCH, Incremental search}
>
>Here are the changes (additionally to the internal/technical ones):
>
> - show the current line number at prompt
> - highlight cursor line while searching
>
> - when on a found string optionally position the cursor at
> - the same vert. position in window like the original cursor pos.
> - the vertical middle of the window
> - a free fixed value
> - no special positioning (disable feature)
>
> - new keys [PgUp]/[PgDown] to continue search at BoF / EoF (REVERSE)
> - new keys [Up]/[Down] to toggle search direction + continue search
> - new key [Del] to reset search string+history; goto Begin_of_Search

I have simply replaced the old macro with your new one, as it is better in every regard. Thank you for the improvements.

Ted.