|
TCustomRichViewEdit.GetCurrentMisspelling |
Top Previous Next |
|
Returns misspelled word in the position of caret, optionally selects it. function GetCurrentMisspelling(SelectIt: Boolean; var Word: String; var StyleNo: Integer): Boolean; 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: |