Hi,

I have to scan an XTextDocument for some patterns and to sort the found XTextRanges by their visual representation. So the XViewCursor's point (getPosition()) seem the only way to do this (because the anchor of the textrange may differ).

For the user the moving of the cursor is annoying.

LockControllers() of the XModel can avoid this, but then the position of the XViewCursor is wrong, if you jump with the ViewCursor to the XTextRange.

Is there another way to turn off screenupdating and to circumvent the problem with the XViewCursor?


Regards

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to