Topic: Goto next word? (1 of 3), Read 115 times
Conf: VEDIT Macro Language Support
From: Fritz Heberlein
Date: Wednesday, June 23, 1999 05:43 PM

I wonder if there is a reliable method to simulate a Ctrl-right arrow (goto next word) in the macro language.
Things like s("|s") and s("|i",advance) etc. didn't do it.

Fritz

 


Topic: Goto next word? (2 of 3), Read 121 times
Conf: VEDIT Macro Language Support
From: Christian Ziemski
Date: Thursday, June 24, 1999 02:50 AM


Try

DO_Visual("\NW\")

// or another solution (sometimes better for multiple actions (in a loop ...)):

Search("|i|!|i",ADVANCE+NOERR)
if(!EM){Char(-1)}


Christian

 


Topic: Goto next word? (3 of 3), Read 111 times
Conf: VEDIT Macro Language Support
From: Pauli Lindgren
Date: Tuesday, June 29, 1999 06:59 AM

>I wonder if there is a
>reliable method to simulate a
>Ctrl-right arrow (goto next
>word) in the macro language.
>Things like s("|s") and
>s("|i",advance) etc. didn't do
>it.

If you have these two commands:

s("|i",ADVANCE) s("|f")

then it should be quite close to the "next word" operation, I think.

-- Pauli