Tippex Posted August 10, 2023 Share Posted August 10, 2023 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 More sharing options...
Developers Solution Jos Posted August 10, 2023 Developers Solution Share Posted August 10, 2023 (edited) 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 August 10, 2023 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 More sharing options...
junkew Posted August 11, 2023 Share Posted August 11, 2023 99999 lines or more is a lot of autoit code. Out of interest. What are you writing? FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Tippex Posted August 11, 2023 Author Share Posted August 11, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now