SynEdit Gutter: Refactor, add ability to save GutterParts to LFM file (fixed example)

git-svn-id: trunk@18332 -
This commit is contained in:
martin 2009-01-18 19:27:28 +00:00
parent 76ed95a0d7
commit a47670f307

View File

@ -42,7 +42,7 @@ program EditTest;
uses
Interfaces,
StdCtrls, Buttons, Classes, Forms, Controls, SysUtils, Graphics,
SynEdit, SynHighlighterPas;
SynEdit, SynHighlighterPas, SynGutterLineNumber;
type
TEditTestForm = class(TForm)
@ -80,7 +80,7 @@ begin
Width := 300;
Height := 200;
Gutter.Color := clBtnface;
Gutter.ShowLineNumbers := True;
Gutter.GutterPartVisibleByClass[TSynGutterLineNumber] := True;
Color := clWindow;
Visible := True;
Font.Name := 'courier';