Class tsyntaxedit

Unit

Declaration

type tsyntaxedit = class(tundotextedit)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected foptions: syntaxeditoptionsty;
Protected fmark1: markitemty;
Protected fmark2: markitemty;

Methods

Protected procedure initsyntaxparams();
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure gridvaluechanged(const index: integer); override;
Protected procedure insertlinebreak; override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure loaded; override;
Protected function createdatalist(const sender: twidgetcol): tdatalist; override;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure clearpairmarks();
Protected procedure checkpairmarks();
Protected procedure editnotification(var info: editnotificationinfoty); override;
Protected procedure doasyncevent(var atag: integer); override;
Protected procedure doafterpaint(const canvas: tcanvas); override;
Protected function needsfocuspaint: boolean; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure setsyntaxdef(const sourcefilename: filenamety); overload;
Public procedure setsyntaxdef(const handle: integer); overload;
Public procedure refreshsyntax(const start,count: integer);
Public function charatpos(const apos: gridcoordty): msechar;
Public function charbeforepos(const apos: gridcoordty): msechar;
Public function wordatpos(const apos: gridcoordty; out word: msestring; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): gridcoordty; overload;
Public function wordatpos(const apos: gridcoordty; out start: gridcoordty; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): msestring; overload;
Public function wordatpos(const apos: gridcoordty; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): msestring; overload;
Public procedure indent(const acount: integer; const atabs: boolean);
Public procedure unindent(const acount: integer);
Public procedure removelink;
Public procedure showlink(const apos: gridcoordty; const delimchars: msestring );
Public procedure selectword(const apos: gridcoordty; const delimchars: msestring);
Public function matchbracket(const apos: gridcoordty; const akind: bracketkindty; const open: boolean; maxrows: int32 = -1): gridcoordty;
Public function matchpairword(var apos: gridcoordty; out lena,lenb: int32; maxrows: int32 = -1): gridcoordty;
Public function syntaxchanging: boolean;

Properties

Public property pairwords: pairwordsty read fpairwords write setpairwords;
Public property syntaxpainterhandle: integer read fsyntaxpainterhandle;
Public property autoindent: boolean read getautoindent write setautoindent;
Public property markbrackets: boolean read getmarkbrackets write setmarkbrackets;
Public property markpairwords: boolean read getmarkpairwords write setmarkpairwords;
Public property caseinsensitive: boolean read getcaseinsensitive write setcaseinsensitive;
Published property syntaxpainter: tsyntaxpainter read fsyntaxpainter write setsyntaxpainter;
Published property options: syntaxeditoptionsty read foptions write setoptions default [];
Published property pairmarkbkgcolor: colorty read fpairmarkbkgcolor write fpairmarkbkgcolor default cl_none;
Published property pairmaxrowcount: int32 read fpairmaxrowcount write fpairmaxrowcount default defaultpairmaxrowcount;

Description

Fields

Protected foptions: syntaxeditoptionsty;

This item has no description.

Protected fmark1: markitemty;

This item has no description.

Protected fmark2: markitemty;

This item has no description.

Methods

Protected procedure initsyntaxparams();

This item has no description.

Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;

This item has no description.

Protected procedure gridvaluechanged(const index: integer); override;

This item has no description.

Protected procedure insertlinebreak; override;

This item has no description.

Protected procedure dokeydown(var info: keyeventinfoty); override;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected function createdatalist(const sender: twidgetcol): tdatalist; override;

This item has no description.

Protected procedure defineproperties(filer: tfiler); override;

This item has no description.

Protected procedure clearpairmarks();

This item has no description.

Protected procedure checkpairmarks();

This item has no description.

Protected procedure editnotification(var info: editnotificationinfoty); override;

This item has no description.

Protected procedure doasyncevent(var atag: integer); override;

This item has no description.

Protected procedure doafterpaint(const canvas: tcanvas); override;

This item has no description.

Protected function needsfocuspaint: boolean; override;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure setsyntaxdef(const sourcefilename: filenamety); overload;

This item has no description.

Public procedure setsyntaxdef(const handle: integer); overload;

This item has no description.

Public procedure refreshsyntax(const start,count: integer);

This item has no description.

Public function charatpos(const apos: gridcoordty): msechar;

This item has no description.

Public function charbeforepos(const apos: gridcoordty): msechar;

This item has no description.

Public function wordatpos(const apos: gridcoordty; out word: msestring; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): gridcoordty; overload;

This item has no description.

Public function wordatpos(const apos: gridcoordty; out start: gridcoordty; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): msestring; overload;

This item has no description.

Public function wordatpos(const apos: gridcoordty; const delimchars: msestring; const nodelimstrings: array of msestring; const leftofcursor: boolean = false): msestring; overload;

This item has no description.

Public procedure indent(const acount: integer; const atabs: boolean);

This item has no description.

Public procedure unindent(const acount: integer);

This item has no description.

Public procedure removelink;

This item has no description.

Public procedure showlink(const apos: gridcoordty; const delimchars: msestring );

This item has no description.

Public procedure selectword(const apos: gridcoordty; const delimchars: msestring);

This item has no description.

Public function matchbracket(const apos: gridcoordty; const akind: bracketkindty; const open: boolean; maxrows: int32 = -1): gridcoordty;

This item has no description.

Public function matchpairword(var apos: gridcoordty; out lena,lenb: int32; maxrows: int32 = -1): gridcoordty;

This item has no description.

Public function syntaxchanging: boolean;

This item has no description.

Properties

Public property pairwords: pairwordsty read fpairwords write setpairwords;

This item has no description.

Public property syntaxpainterhandle: integer read fsyntaxpainterhandle;

This item has no description.

Public property autoindent: boolean read getautoindent write setautoindent;

This item has no description.

Public property markbrackets: boolean read getmarkbrackets write setmarkbrackets;

This item has no description.

Public property markpairwords: boolean read getmarkpairwords write setmarkpairwords;

This item has no description.

Public property caseinsensitive: boolean read getcaseinsensitive write setcaseinsensitive;

This item has no description.

Published property syntaxpainter: tsyntaxpainter read fsyntaxpainter write setsyntaxpainter;

This item has no description.

Published property options: syntaxeditoptionsty read foptions write setoptions default [];

This item has no description.

Published property pairmarkbkgcolor: colorty read fpairmarkbkgcolor write fpairmarkbkgcolor default cl_none;

This item has no description.

Published property pairmaxrowcount: int32 read fpairmaxrowcount write fpairmaxrowcount default defaultpairmaxrowcount;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.