trichview.com

trichview.support




Re: Getting word in place of the caret


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/20/2002 14:00:20


You need to write this function yourself.


Caret position:

rve.TopLevelEditor.CurIremNo, rve.TopLevelEditor.OffsetInCurItem.


You'll need functions

rve.TopLevelEditor.GetItemTextA and rve.TopLevelEditor.GetItemStyle



>

> But with this way the position of caret will be changed.

> I need something that not affect the position of caret.

>

>

>

>

> "Yernar" <[email protected]> wrote:

> >

> >SelectCurrentWord method selects a word in the position of caret.

> >GetSelText method returns the selected part of the document as a text.

> >

> >

> >"Dimitry Kopitkov" <[email protected]> wrote:

> >>

> >>How can i get word in place of the caret?

>





Powered by ABC Amber Outlook Express Converter