Class tsyntaxedit

Unit

Declaration

type tsyntaxedit = class(tundotextedit)

Description

No description available, ancestor tundotextedit description follows
No description available, ancestor ttextedit description follows
No description available, ancestor tcustomtextedit description follows
No description available, ancestor tcustomedit description follows
No description available, ancestor tpublishedwidget description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

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;
 
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;
 

Generated by PasDoc 0.16.0.