On Sat, 14 Jan 2006 20:08:00 -0500, Steve Rawling wrote:
>I am having a problem with keystroke macros in 6.151
>
>Open a new buffer and type
>
>Aaaa
>Aaaa
>Aaaa
>
>Now goto to beginning of file
>
>Alt-K to record a keystroke macro saving it to CTRL-Q
>
>
>Hit F2 ( ie search)
>
>Type |<A into search field
>
>Hit ENTER this should stop at fist line containing AAAA,
>with the first letter highlighted
>
>Type BBB this should replace the first A with BBB
Note: Only if you have "Auto-replace block with new text" enabled.
>ALT K to save macro to CTRL-Q
>
>Hit CTRL-Q to replay these keystrokes
>
>The first A on the next line should be replaced by BBB however the
>search dialogue box instead pops up with the following in the
>search field
>
>S|Anbbb
There is something strange going on, yes.
My results when replaying the macro:
In Vedit 6.15.1:
New F2-box with: S<<ANbbb
Recorded macro is: [MENU]ssS|<ANbbb
In Vedit 6.13.2:
"Cannot find <<A"
Recorded macro is: [MENU]ss[OPTION]S|<A[OPTION]Nbbb
Using the easier search string "AA" instead gives:
In Vedit 6.15.1:
New F2-box with: SAANbb
Recorded macro is: [MENU]ssSAANbb
In Vedit 6.13.2:
works fine
Recorded macro is: [MENU]ss[OPTION]SAA[OPTION]Nbb
Conclusions:
- In 6.15.1 the "[OPTION]" part is missing when recording
- In both versions: There is a problem with pattern matching
characters in dialog boxes while recording.
Christian
|
|