How to display line numbers by default in SciTE?

luc picture luc · Jul 29, 2009 · Viewed 12.4k times · Source

I am using the lightweight SciTE Text editor and I like it very much.

I would like to configure it in order to see the line numbers displayed when I open it. I don't want to check the "View\Line Number" menu every time.

I think that I can do it but I don't see the entry in my global options file. Does anybody know how to do it?

Answer

Treb picture Treb · Jul 29, 2009

Try this in SciTEGlobal.properties:

 # Sizes and visibility in edit pane
line.margin.visible=1
line.margin.width=5