<< Click to display table of contents >> TCustomRichViewEdit.GetCurrentMisspelling |
Returns misspelled word at the position of caret, optionally selects it.
function GetCurrentMisspelling(SelectIt: Boolean;
out Word: TRVUnicodeString; out StyleNo: Integer): Boolean;
(changed in version 18)
Input parameters:
SelectIt – if True, the returned word will be selected in the editor.
Output parameters:
Word receives misspelled word.
StyleNo receives text style of misspelled word (index in TextStyles collection of the linked TRVStyle component).
The output parameters are defined only if this method returns True.
Return value
True if misspelling is found.
See also: