Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable line numbering in SynEdit?

Tags:

delphi

synedit

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.

like image 385
Patryk Wychowaniec Avatar asked Aug 25 '12 15:08

Patryk Wychowaniec


People also ask

How to enable line numbers in the text editor?

Now from the text editor click on all languages and enable the line number option. Click on OK button. As you can see the corresponding line numbers are visible. Hope you found this article helpful! thanks for reading.

How to enable line numbers in SSMS query editor?

The solution to this issue would be adding line numbers in the query editor, by default this option is disabled. In this blog we will see how to enable line numbers in SSMS. From the toolbar click on tools, then select options.

Should SynEdit include activelinenumber function?

But I recommended to you Synedit should be included ActiveLineNumber function. It is for the line where the caret currently is. and follows if the user moves the caret. for other highlights (such as current-debug-location) this is not good.

How do I add line numbers to my code?

(Or, type line number in the search box and choose Turn line numbers on or off from the results.) Select the Line numbers checkbox. Line numbers aren't added to your code; they're just for reference.


1 Answers

Based on code found here try to use the:

SynEdit1.Gutter.ShowLineNumbers := True;
like image 175
TLama Avatar answered Nov 11 '22 11:11

TLama