Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) Build Identifier: I20090430-2300 Tab and shift tab when multiple lines are block selected shifts the entire lines left or right (which matches the regular selection mode). It would be nice if the left hand side of the block selection could be used as the starting point for the shift operation. This could be useful for quickly re-indenting code where a column based format is used It is possible to do something similar by block selecting the lines and indenting with spaces, but some people prefer tabs over spaces. Reproducible: Always
I understand the request, but don't think it would be a good idea to remove the well-known Shift Left/Right functionality bound to Tab / Shift+Tab. If anything, the requested functionality would be a new command, IMO. Not sure how to proceed - Dani, your opinion?
>If anything, the requested functionality would be a new command, IMO. Right.
What i really want is for tab to act like tab when in block selection mode. If you add a check in TextViewer@canDoOperation to return false if the style text is in block selection mode, everything works correctly. You can use tab to indent and backspace to unindent.
*** Bug 319280 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.