Sublime Forum

Tab has stopped indenting multiple lines...?

#1

Does anyone have any suggestions on what stupid thing I’ve done to my Sublime?

I normally highlight multiple rows and hit ‘tab’ to increase the indent. From this morning, this has stopped working.

Right now, if I highlight multiple rows and hit tab, it replaces them with a single tab. Press Ctrl-Z and it goes back to those rows, but indented as I want. It’s like it’s doing the indent and then replacing the text with a tab.

Anyone got any hints?

0 Likes

#2

Try running sublime.log_commands(True) & sublime.log_input(True) in the built in console & verify if hitting tab is actually invoking indent or some other command.

0 Likes

#3

Ooo, those are cool debug tools.

command: drag_select {“event”: {“button”: 1, “x”: 428.5, “y”: 344.5}}
key evt: tab
command: indent
chr evt: (0x9)

I’ve just noticed that a normal tab is double indenting too… How odd.

0 Likes