scite

How to display line numbers by default in SciTE?


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?


Solution

  • Try this in SciTEGlobal.properties:

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