Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Editor: Decrease Line Indentation uses tab-size not spaces-per-indent #1744
Decrease Line Indentation removes all the whitespace from the start of the line, when it should only remove one indentation level.
Steps to Reproduce
Bind a key to Editor: Decrease Line Indentation (Ctl-c, < or shift-TAB or ctrl-shift-TAB)
Hit shift-TAB (or whatever) to decrease the indent of the last line
Komodo Edit or IDE? IDE
-- eg. Error logs, screenshots, workarounds --
The bug was raised with 'Prefer Tab characters' disabled, with indents set at 2 spaces and tab characters set at 8.
I've since tried setting indents at 12 spaces and get this:
So it seems that Decrease-Indentation operates on the tab-size setting, not the 'spaces per indent' setting. I've updated the title accordingly.
At least that means I can set them both to the same value to continue editing sanely.
This is a regression in Komodo X. Komodo 9 works as expected (using spaces-per-indent when reducing indentation level).