ToolsAPI.Editor.INTACodeEditorEvents.PaintText
Delphi
procedure PaintText(const Rect: TRect; const ColNum: SmallInt; const Text: string;
const SyntaxCode: TOTASyntaxCode; const Hilight, BeforeEvent: Boolean;
var AllowDefaultPainting: Boolean; const Context: INTACodeEditorPaintContext);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | ToolsAPI.Editor.pas | ToolsAPI.Editor | INTACodeEditorEvents |
Description
Fires one event for each part of the code (i.e., every keyword, number, comment, etc.)
To get notifications from the PaintText method you should add cevPaintTextEvents in the AllowedEvents result.