mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 09:50:31 +02:00
SynEdit Gutter: Refactor, add ability to save GutterParts to LFM file (fixed example)
git-svn-id: trunk@18332 -
This commit is contained in:
parent
76ed95a0d7
commit
a47670f307
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user