| Description | Hierarchy | Fields | Methods | Properties |
type THunSpellMemo = class(TMemo)
![]() |
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
![]() |
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
![]() |
procedure Change; override; |
![]() |
procedure SetCaretPos(Value: TPoint); |
![]() |
function GetCaretPos: TPoint; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function GetWordAt(const APos: TPoint): string; |
![]() |
function GetWordAtCaret: string; |
![]() |
procedure ReplaceWordAt(const APos: TPoint; const ANew: string); |
![]() |
procedure ReplaceWordAtCaret(const ANew: string); |
![]() |
procedure Refresh; |
![]() |
property AddMenu: boolean read fAddMenu write fAddMenu default false; |
![]() |
property AutoSuggest: boolean read fAutoSuggest write fAutoSuggest default true; |
![]() |
property CaretPos: TPoint read GetCaretPos write SetCaretPos; |
![]() |
property HunSpell: THunSpell read fHunSpell write SetHunSpell; |
![]() |
property RightClickMoveCaret: boolean read fRightClickMoveCaret write fRightClickMoveCaret; |
![]() |
property RightEdge: integer read fRightEdge write SetRightEdge; |
![]() |
property RightEdgeColor: TColor read fRightEdgeColor write SetRightEdgeColor default clSilver; |
![]() |
property UnderlineColor: TColor read fUnderlineColor write SetUnderlineColor default clRed; |
![]() |
property VisibleLines: integer read GetVisibleLines; |
![]() |
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
Protected declarations | |
![]() |
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
![]() |
procedure Change; override; |
![]() |
procedure SetCaretPos(Value: TPoint); |
![]() |
function GetCaretPos: TPoint; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
|
Public declarations | |
![]() |
function GetWordAt(const APos: TPoint): string; |
|
Get word at position. Parameters
ReturnsThe word. | |
![]() |
function GetWordAtCaret: string; |
|
Get word at caret position. ReturnsThe word. | |
![]() |
procedure ReplaceWordAt(const APos: TPoint; const ANew: string); |
|
Replace word at position. Parameters
| |
![]() |
procedure ReplaceWordAtCaret(const ANew: string); |
|
Replace word at caret position. Parameters
| |
![]() |
procedure Refresh; |
|
Redraw the window | |
![]() |
property AddMenu: boolean read fAddMenu write fAddMenu default false; |
|
If | |
![]() |
property AutoSuggest: boolean read fAutoSuggest write fAutoSuggest default true; |
|
If | |
![]() |
property CaretPos: TPoint read GetCaretPos write SetCaretPos; |
|
Caret position. | |
![]() |
property HunSpell: THunSpell read fHunSpell write SetHunSpell; |
|
THunSpell object to use for spell checking. | |
![]() |
property RightClickMoveCaret: boolean read fRightClickMoveCaret write fRightClickMoveCaret; |
|
If | |
![]() |
property RightEdge: integer read fRightEdge write SetRightEdge; |
|
Show a line at char pos. | |
![]() |
property RightEdgeColor: TColor read fRightEdgeColor write SetRightEdgeColor default clSilver; |
|
Color of the line. | |
![]() |
property UnderlineColor: TColor read fUnderlineColor write SetUnderlineColor default clRed; |
|
Color to underline words. | |
![]() |
property VisibleLines: integer read GetVisibleLines; |
|
Count of visible lines. | |