LoWang Posted January 12, 2012 Posted January 12, 2012 Hello, I enjoy making scripts with very deep cycles, if, switches and other such constructs so I am just used to use only one space as indentation. it saves time and prevents any viewing troubles if someone wanted to open my scripts in different viewer then SciTE. So how can I change the SciTE defaults so it is spaces and not tabs and only one? I found some .properties file and changed "Indent size" to 1, but did not find Tab size there and the settings to use spaces instead of tabs, so now I have to change it whenever I open some au3 file or create a new one. Thank you for help
jaberwacky Posted January 12, 2012 Posted January 12, 2012 I think use.tabs=0 might be what you're after. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
LoWang Posted January 12, 2012 Author Posted January 12, 2012 (edited) This settings is not there at all so I added it and it seems to have worked, BUT I need to change the tab size settings also, because it is still 4. I tried use.tabs.$(au3)=0, but it did not work and actually changed the default value from 4 to 8 :-o Edited January 12, 2012 by LoWang
jaberwacky Posted January 12, 2012 Posted January 12, 2012 tabsize=1 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
LoWang Posted January 12, 2012 Author Posted January 12, 2012 OK now it works - tab.size.$(au3)=1 Of course 0 is a nonsense sorry Anyway this really should be somewhere in the menu instead of tinkering with files IMHO.
LoWang Posted January 30, 2012 Author Posted January 30, 2012 (rude word here) it stopped working! Can somebody please tell me why something so simple just can't work??Now indent size for new files and opened old files is again set to 4!I attached those settings files so please check it and tell me what did I do wrong in it to make SciTE ignore this. It seems the file is completely being ignored because#CaretLineBackgroundcaret.line.back=#FFFED8also does not have any effect if I understand this settings right...SciTEGlobal.properties has the same Indentation settings but it also does not have any effect.Thank you for your patience.SciTEGlobal.zip
jaberwacky Posted January 31, 2012 Posted January 31, 2012 (edited) Sure, caret.line.back works for me anyways. Put those settings that you want to override into your SciTEUser.properties file. So that's 'Options' --> 'Open User Options File'. Also, put them outside of any thing SciTEConfig generates. Edited January 31, 2012 by LaCastiglione Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
LoWang Posted January 31, 2012 Author Posted January 31, 2012 thank you, now it works again. But don't want me to understand this mess
LoWang Posted February 1, 2012 Author Posted February 1, 2012 I have installed AutoIt on my second pc and wanted to do this change too, but those files are not there at all! It seems that SciTe which is being installed with the AutoIt bundle is somehow stripped of functions, is that right? I did not download the separate package, I just noticed it is there right after AutoIt installation...
Developers Jos Posted February 1, 2012 Developers Posted February 1, 2012 I have installed AutoIt on my second pc and wanted to do this change too, but those files are not there at all! It seems that SciTe which is being installed with the AutoIt bundle is somehow stripped of functions, is that right? I did not download the separate package, I just noticed it is there right after AutoIt installation...Correct. The version that comes with the autoit3 installer has basic functionality only with a minimal number of lexers. 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.
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