Megaxela/QCodeEditor

Feature request: multi-line indent using the Tab key

Opened this issue · 3 comments

ouuan commented

If the user has a selection that spans more than 1 line and presses the Tab key, those lines are indented by 1 TAB (or a number of spaces, depending on how the editor is configured). And Shift+Tab un-indents them.

Ye, I guess it will be fine to have this feature. I'll implement it!

ouuan commented

And Shift+Tab for single line unindenting works incorrectly now, if the tab is not typed in the editor but loaded from the file.

Already implemented in https://github.com/ouuan/QCodeEditor

You can cherry pick commits from his repository to include them here.