Hey guys,
I have a really annoying problem with SciTE4AutoHotkey (Version 3.0.06.01). When I want to make a tabulator, the cursor moves to the right as if it was a tab; however, when I press left at the keyboard the cursor jumps just a little to the left, as if there was just a space! When I press backspace the whole tab is deleted.
I do not know what kind of problem this ist, but it is really annoying when moving the cursor through the code.
Any ideas?
Edit: It only happens in some scripts!
SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
Re: SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
you probably have "soft tabs" or whatever s4ahk calls them. where the tab key creates 4 spaces (like hitting spacebar 4 times).
hitting tab makes 4 spaces, pressing left/right goes over 1 space, if pressing delete detects 4 spaces, delete all 4, it's probably a tab )instead of needing to hot backspace 4 times).
I don't use s4ahk so I do not know where the setting to disable this is, if possible.
hitting tab makes 4 spaces, pressing left/right goes over 1 space, if pressing delete detects 4 spaces, delete all 4, it's probably a tab )instead of needing to hot backspace 4 times).
I don't use s4ahk so I do not know where the setting to disable this is, if possible.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
*poke*
Is it December 21, 2012 yet?
Re: SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
indent.auto=1 is set by default for SciTE4AutoHotkey. You can set indent.auto=0 in your user properties file if you want.SciTE wrote:If indent.auto is set then indent.size and use.tabs are set according to the contents of the opened document.
http://www.scintilla.org/SciTEDoc.html
Re: SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
Probably the problem occured, because the person that created the script I was editing used these "soft tabs", so Scite recognized this and let me no choice but - during that session - also use it. I could "solve" it by deleting all tabs manually and then copy the code into a new script, save it and then make new tabs.
Re: SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
Leli196 wrote:I could "solve" it by deleting all tabs manually and then copy the code into a new script, save it and then make new tabs.
- From the menu, select Options > Change Indentation Settings...
- Check "Use tabs"
- Click "Convert"
Re: SciTE4AutoHotkey makes spaces instead of tabs (but only sometimes)
Thanks a lot! That solves the problem much faster.
Greetings
Greetings