Jump to content

How do I expand the line number column in Scite for a large AutoIT script?


 Share

Go to solution Solved by Jos,

Recommended Posts

I have a large AutoIT script (preferring to keep as much of it together rather than using includes) and I wish to expand the line number column in Scite from the default 5 digits to 6.

Does anyone know how this may be done please?

Link to comment
Share on other sites

  • Developers
  • Solution

Are you using the SciTE version that came with the Autoit3 installer or separate installer?

This is from the Helpfile that comes with the Full version:

Quote
line.margin.visible
line.margin.width
SciTE is able to display a column of line numbers to the left of the selection margin. Setting line.margin.visible to 1 makes this column visible at startup. The line.margin.width property controls how much space is reserved for the line numbers, in terms of the number of digits that can be displayed. To specify that the margin should expand if needed to accommodate larger line numbers, add a '+' after the number of digits, e.g. line.margin.width=3+.

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Thank you so much!

 
Quote
 
line.margin.visible
line.margin.width
SciTE is able to display a column of line numbers to the left of the selection margin. Setting line.margin.visible to 1 makes this column visible at startup. The line.margin.width property controls how much space is reserved for the line numbers, in terms of the number of digits that can be displayed. To specify that the margin should expand if needed to accommodate larger line numbers, add a '+' after the number of digits, e.g. line.margin.width=3+.

 

 

 

C:\Program Files (x86)\AutoIt3\SciTE\SciTEGlobal.properties

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

 

(It's so large as it is a knowledge based automation app for an Intranet form, searching various systems to get results and has evolved since started coding 2006). 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...