As far as I can see, the "search" macro command does not search from the
caret position, but from the start of the implicitNode.

 

Test:

 

1 Define a macro containing the following command:

 

        <cfg:command name="search" parameter="foo" />

 

2 Create a document containing the text:

 

            foo bar foo

 

3 Position the caret mark in "bar"

 

4 Execute the macro

 

When I do the above, the result is that the first "foo" is selected, not the
second.

 

Is there any way to change this behaviour?

 

Kevin Flynn

Birdstep Technology ASA

Oslo, Norway

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060911/1f0c07a1/attachment.htm
 

Reply via email to