Useful extension if spaces are used instead of tabs in SciTE4AutoIt.
v 0.2
- Load the file with "SciTEStartup.lua"
- New entry in SciTEUser.properties:
use.tabs.$(file.pattern.EXT)=0
oruse.tabs.EXT=0
.
Don't useuse.tabs=0
!
If the property is set to >0 , the script will not respond. For use with values other than the default, see remarks.
Key Sequence | Single Caret | Rectangular Selection |
Shift+Backspace | Delete chars from caret until previous tab position | The same in each line of selection. The rectangular selection remains after the operation. |
Shift+Del | Delete chars from caret until next tab position | The same in each line of selection. The rectangular selection remains after the operation. |
Alt+Arrow_Left | Skip to previous Tab position | -- |
Alt+Arrow_Right | Skip to next Tab position | -- |
The default Tab size is 4. You can change this setting specified for your file types. The following properties need changes:
tab.size.$(file.pattern.EXT)=VALUE
indent.size.$(file.patterns.EXT)=VALUE
The (not file type specific) values:
tab.indents=1
backspace.unindents=1
should also set.
If tab.indents
is set then pressing tab within indentation whitespace indents by indent.size rather than inserting a tab character.
If backspace.unindents
then pressing backspace within indentation whitespace unindents by indent.size rather than deleting the character before the caret.