Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29251 Discussions

Tab[TAB]... Back-tab[SHIFT+TAB]... Delete-tab???

Stuart_M_
Beginner
617 Views
Hi folks

I was just wondering if anyone knew of a way to delete a tab other than by deleting the spaces manually or back-tabbing. I find there are often instances when I need to move an entire block of code one tab backward to maintain my loop hierarchies and using back-tabbing is limited - you can only using the quick combination of [SHIFT+TAB]+[DOWN ARROW] as many times as there are tabs preceding the block of code because every time you move down to the next line to repeat the operation you're one tab close to the left margin. Once you hit the beginning of the line you're forced to either delete the remaining spaces manually or move the cursor manually along the line to a point where you can start back-tabbing again.

I know this may seem trivial but I assume I'm not the only one who likes to keep their messy code superficially ordered, and who would love to be able to perform this simple operation with the minimum amount of synapse-fatigue ;-)

Thanks all
(I'm using VC2008v9.0.2... with IVF v11.1.051)
0 Kudos
1 Solution
Paul_Curtis
Valued Contributor I
617 Views

highlight the group of lines (whole lines, not an interior block), shift+tab together, moves everything back one tab

View solution in original post

0 Kudos
2 Replies
Paul_Curtis
Valued Contributor I
618 Views

highlight the group of lines (whole lines, not an interior block), shift+tab together, moves everything back one tab
0 Kudos
Stuart_M_
Beginner
617 Views
Quoting - Paul Curtis

highlight the group of lines (whole lines, not an interior block), shift+tab together, moves everything back one tab

Aaaaaaaaaaaaaah. Now that is satisfaction!
0 Kudos
Reply