Skip to content

fix error recovery in color syntax highlighting#6781

Merged
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix-color
May 14, 2017
Merged

fix error recovery in color syntax highlighting#6781
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix-color

Conversation

@WalterBright
Copy link
Member

The highlighter didn't recover well from errors in the highlighted section, sometimes leaving the console in a goofed up state. This should fix it. No test cases, because the highlighter is turned off when redirecting output.

Copy link
Member

@andralex andralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, this is getting more convoluted than one would hope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants