-
Notifications
You must be signed in to change notification settings - Fork 28
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
Stackoverflow Exception #2
Comments
Would it be possible for you to share some example code that reproduces the problem? That would make it a lot easier for me to investigate, and hopefully fix the bug. |
The code I posted above is the only code I had. To reproduce: Create a WinForm with a RichTextBox. In the form's code, construct a new Highlighter with the Rtf engine, then add an event handler for the RichTextBox's TextChanged event and use it to call Highlight("Python", RichTextBox1.Text) |
When a character is entered into the RichTextBox, there is a huge menory spike before getting a stack overflow exception. |
How this library is supposed to be used? |
`Private Highlighter As New Highlight.Highlighter(New Highlight.Engines.RtfEngine)
Throws a stackoverflow exception when highlighter.highlight is called for the first time. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: