Highlighted
Contributor.
Contributor.
644 views

Green & yellow bars in source listing?

I'm a newbie.  Please forbear.  In the Visual Studio listing of my COBOL program, what do the vertical green and yellow bars to the left of some lines of source code mean?  Thanks.

0 Likes
1 Reply
Highlighted
Visitor.

RE: Green & yellow bars in source listing?

This is a Visual Studio feature that shows lines that have changed since the file was opened.

  • Yellow:  changes that haven't been saved
  • Green:  changes that have been saved (but differ from when the file was first opened)
  • Orange:  "un-done" changes - i.e. changes that were made, then saved, then un-done; these lines are in the same state as they were when the file was first opened, but differ from the latest saved version.

This feature can be enabled or disabled under Tools -> Options -> Text Editor -> General.  Both "Track changes" and "Selection margin" need to be checked to enable the feature.

A comprehensive explanation can be found here.

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.