Shift-tab to indent backwards the line with the cursor in it
Posted: Thu Nov 16, 2017 1:19 am
When modifying the tab depth of the current line it would be extremely convenient if PureBasic were similar to other editors where it would decrease the indent of the current line with shift-tab.
Yes, we have this already but only if the selection includes multiple lines or the entire current line is selected.
I would like to simply indent backwards the line where the cursor resides whether I have anything selected or not.
One use-case is that I have a line:
I select the first ": " and hit enter and tab to set it on a new line and indent it inwards. Then I select the second ": " and it matches the ended of the block. I can't just shift-tab it backwards; I have to hit backspace several times (I use spaces instead of tabs).
This is just a simple scenario but I find that this is often something that I miss in the PureBasic IDE compared to other editors.
Yes, we have this already but only if the selection includes multiple lines or the entire current line is selected.
I would like to simply indent backwards the line where the cursor resides whether I have anything selected or not.
One use-case is that I have a line:
Code: Select all
If #True: debug 1: EndIf
This is just a simple scenario but I find that this is often something that I miss in the PureBasic IDE compared to other editors.