Highlighted
Honored Contributor.
Honored Contributor.
678 views

Visual Studio Editor - Block Unindent

Jump to solution

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.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Visual Studio Editor - Block Unindent

Jump to solution

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.

View solution in original post

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Visual Studio Editor - Block Unindent

Jump to solution

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.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.