Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting not working correctly for conditional code #67

Closed
strandloper opened this issue Oct 7, 2019 · 1 comment · Fixed by #68
Closed

Highlighting not working correctly for conditional code #67

strandloper opened this issue Oct 7, 2019 · 1 comment · Fixed by #68
Labels
bug solved A issue was solved
Milestone

Comments

@strandloper
Copy link

When using conditional code, i.e. #if DEBUG ... #else ... #endif the code highlighting does not correctly follow changes in the conditional state, such as switching between Release and Debug profiles.

In the attached image, the top screenshot shows some code in a file that was opened while the Release profile was selected and the lower shows how it changed when the profile was changed to Debug. The code in the #else should have become all grey but did not. When it was changed back to Release the display reverted to the top screenshot.

Versions are Visual Studio 2019 16.3.1 and CoCo 3.2.1

coco

@GeorgeAlexandria
Copy link
Owner

@strandloper, thanks for your attention!
The new version of CoCo which include the fix of this issue was released, so you can check it.

@GeorgeAlexandria GeorgeAlexandria added the solved A issue was solved label Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug solved A issue was solved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants