Visual Studio Editor - Block Unindent

In Visual Studio 2013 (Version 12.0.40629.00 Update 5) editor, with [Micro Focus COBOL] Tabs set to 4 & 4 and Insert spaces on ....

... you can highlight a block of code (that let's say starts in column 12) and hit the tab key to indent it, and it will move it to column 16 ... which is the expected / desired result.

However, if you hold down on shift and hit the tab key to Unindent it, it moves it back to position 13, not back to the expected / desired position 12.

It appears that this only happens if the "block" consists of more than one line.  If it is just one line, it handles it correctly.

Thanks.

  • Verified Answer

    Hi Austin,

    I have recreated this problem using VS2015 as well. I opened up SI 2876148 for you and have raised an RPI with Development.

    I noticed that the behavior is different whether you are selecting the code using line selection which has the behavior you describe, or block selection using the Alt-Mouse combo in which tab moves the text to col 13 and Shift-tab moves it to col 9.

    Thanks.