Topic: Keystroke macro problem (1 of 4), Read 25 times
Conf: VEDIT Beta Test
From: Steve Rawling
Date: Saturday, January 14, 2006 08:08 PM

I am having a problem with keystroke macros in 6.151

Can someone confirm or other wise

Please try the following



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

Record keystrokes that follow



Hit F2 ( ie search)

Type |
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



AKT 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







Methinks there is a serious problem



Steve

 


Topic: Keystroke macro problem (2 of 4), Read 22 times
Conf: VEDIT Beta Test
From: Steve Rawling
Date: Saturday, January 14, 2006 10:36 PM

Oops

The HTML bug bit me

that search string in F2 above should read
| ( ie pipe character)
followed by the less than symbol
followed by the letter "A"

Steve

 


Topic: Re: Keystroke macro problem (3 of 4), Read 24 times
Conf: VEDIT Beta Test
From: Christian Ziemski
Date: Sunday, January 15, 2006 04:02 AM

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

 


Topic: Re: Keystroke macro problem (4 of 4), Read 29 times
Conf: VEDIT Beta Test
From: Ted Green
Date: Monday, January 16, 2006 09:33 AM

At 02:48 AM 1/15/2006, you wrote:
>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.

We will look into this; especially the new problem with the missing [OPTION].

Ted.