I have recently downloaded SynEdit and I'm wondering how to enable line numbering (like in Lazarus)?
I don't found anything at the internet.
Thanks in advance.
Asked
Active
Viewed 1,866 times
6

Patryk Wychowaniec
- 346
- 2
- 9
-
IIRC it's some sub-property of `Gutter`. – Uli Gerhardt Aug 25 '12 at 16:45
-
@Uli Gerhardt - thanks, I'll read something about it. – Patryk Wychowaniec Aug 25 '12 at 16:54
1 Answers
14
Based on code found here
try to use the:
SynEdit1.Gutter.ShowLineNumbers := True;

TLama
- 75,147
- 17
- 214
- 392
-
3+1 and also be sure which the gutter is visible, `SynEdit1.Gutter.Visible := True;` – RRUZ Aug 25 '12 at 17:04
-
-