Skip to content

Conversation

@CypherPotato
Copy link

this PR removes the "quick and dirty caching" present in the SyntaxHighlighter.cs, this way, any key will force the component to re-render.

This sounds bad, but the cost is very low, and it makes it possible to render components when you "navigate" through the code, like highlighting matching brackets:

WindowsTerminal_44IuAnB5Ri.mp4

Example usage.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant