Marc,

Marc Santhoff wrote:
In a text document, how can i get a XTextCursor at the current position
of the ViewCursor?

viewCursor = document.getCurrentController().getViewCursor() textCursor = document.Text.createTextCursor()

//TextCursors include the TextRange service
viewCursorRange = viewCursor.getEnd()

textCursor.gotoRange( viewCursorRange )

Regards
--
Darragh Sherwin
PWB Implementations Manager
http://www.propylon.com/solutions/parliament/index.html
+353-1-4927456
+353-87-1204654

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



Reply via email to