I don't want to tick "View" --> "Line Numbers" every time I open
SciTE. How do I permanently set SciTE to show line numbers?
Philippe said:
Well, perhaps by starting to search "line numbers" in the SciTE doc?
I did it for you, and found you have to set line.margin.visible=1 in your user properties file.
Now the hard part for me was finding the user properties file.
According to aeon-ltd in #Ubuntu on FreeNode, he suggested I use "whereis scite" at the command line to find the location of the program, which printed the following:
daniel@natty:~$ whereis scite
scite: /usr/bin/scite /usr/share/scite
daniel@natty:~$
So I navigated to /usr/bin/scite and found SciTEGlobal.properties . With that file open using the sudo prefix it looked the line.margin.visible part looked exactly like this :
...
#line.margin.visible=1
...
So I removed the hash-mark and voila! SciTE now shows line numbers on the left hand side automatically at start up....
Thanks goes out to Philippe Lhoste and aeon-ltd for the help!
No comments:
Post a Comment