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.
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.
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.
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.
(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.
Based on code found here
try to use the:
SynEdit1.Gutter.ShowLineNumbers := True;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With