Line Numbers

StrongED can display - or not display, it is your choice, line numbers. They are useful for most programming - when errors are usually reported by line numbers - but not normally useful for writing text. linenos/png

One example of when they are usefully switched on is when writing a simple www page. For writing, they are not useful and are probably confusing. But - if you validate the page, errors are reported by line number. So you can use key F5 to GoTo a line. Easy! But there is a problem: if , for instance, you use a SSI (Server Side Include) to insert a common header, then the reported errror lines will not agree with StrongED. StrongED has a solution!

Switch lines on/off

This is done via the menu system as shown. The LineNumbers dialogue box has many options. Start number can be adjusted to suit the use.

Mode Line numbers

Each mode can be configured to display line numbers. This is not in the ModeFile, but is configured in the Mode's Choices.

Menu in appropriate Window-> Mode (bottom choice)
This opens the Mode's choices menu:-

modeline/png
Line number setting for this mode is to be found under the Periphery choice.

Was this page helpful? Please email me and/or rate this page:


If you want a reply make sure any email address @torrens.org will not get spam-binned!
Optional comment

Other relevant pages

Top of page


Page Information

http://css.torrens.org/valid-html401-bluehttp://css.torrens.org/valid-css Document URI: http://stronged.torrens.org/man/misc/linenos.html
Page first published 22nd of March, 2019
Last modified:Mon, 08 Jul 2024 09:18:33 BST
© 2019 - 2024 Richard John Torrens.