TRichView Reference | Global procedures and functions
Functions from RVGetText and RVGetTextW Units
|Top Previous Next|
The units RVGetText and RVGetTextW include the identical sets of functions returning text from TRichView.
Functions from RVGetText return ANSI strings, functions from RVGetTextW return Unicode strings.
GetCurrentLineText returns the current line of text (the line containing the caret).
GetAllText returns all text in rv, GetRVDataText returns all text in RVData.
GetCurrentParaSectionText returns text of the paragraph section with the caret (paragraph section is a part of document limited either by paragraph breaks or by new line breaks (added with Shift + Enter ).
GetCurrentParaText returns text of the paragraph with the caret.
GetCurrentChar returns character to the left of the caret. If the caret is at the beginning of line, returns the character to the right. If no character, returns empty string.
GetCurrentWord returns the word with the caret.
For non-text items, these function return their text representation.
TRichView © trichview.com