Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display line numbers by default in SciTE?

Tags:

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?

like image 743
luc Avatar asked Jul 29 '09 09:07

luc


People also ask

How do I show line numbers in Atmel Studio?

On the menu bar, choose Tools > Options. Expand the Text Editor node, and then select either the language you're using or All Languages to turn on line numbers in all supported programming languages. You can also type line number in the Search box, and then choose Turn line numbers on or off from the results.

How do I show line numbers in Linux?

Press the Esc key if you are currently in insert or append mode. Press : (the colon). The cursor should reappear at the lower left corner of the screen next to a : prompt. A column of sequential line numbers will then appear at the left side of the screen.

How do I show line numbers in less command?

You can easily display line numbers using less command. All you have to do is pass either -N or --LINE-NUMBERS option to the less command. This option forces less to show a line number at the beginning of each line in the screen.


2 Answers

Try this in SciTEGlobal.properties:

 # Sizes and visibility in edit pane line.margin.visible=1 line.margin.width=5 
like image 183
Treb Avatar answered Sep 24 '22 05:09

Treb


# Sizes and visibility in edit pane line.margin.visible=1 line.margin.width=2+   # + will expand if needed 
like image 44
fri.K Avatar answered Sep 22 '22 05:09

fri.K