#7196
Yutaka Emura
Keymaster

gning wrote:
Well, I did find the Insert Spaces plugin, but that’s clumsy to use and only goes inward, not outward. Better than nothin’…

This is a macro to change the tab/indent length. I hope this helps.


cfg = document.Config;
do {
n = prompt( "Enter new indent/tab length in characters:", cfg.Indent.TabColumns );
} while( n <= 0 || n > 16 );
cfg.Indent.IndentColumns = cfg.Indent.TabColumns = n;
cfg.Save();