QCodeEditor icon indicating copy to clipboard operation
QCodeEditor copied to clipboard

Feature request: multi-line indent using the Tab key

Open ouuan opened this issue 4 years ago • 3 comments

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.

ouuan avatar Dec 08 '19 10:12 ouuan

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

Megaxela avatar Dec 28 '19 00:12 Megaxela

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

ouuan avatar Jan 08 '20 12:01 ouuan

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

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

coder3101 avatar Feb 05 '20 18:02 coder3101