Quantcast
Channel: ScintillaNET Forum Rss Feed
Viewing all articles
Browse latest Browse all 296

New Post: Prototype Lexer/Highlighter Available

$
0
0
@Gerolkae,

Your "scrolling performance" issue is really a "lexer performance" issue. To successively attempt to match regular expressions against the unstyled content will simply take too long. In short, that approach doesn't scale... and a quick scroll on a long document makes that obvious.

This thread is old and we have better examples now on how to write a custom lexer. You should check out @blah38621's WPF branch. The WPF portions of it are irrelevant for you, but the custom lexer implementations show best practices. He also details some of his work in this thread:

https://scintillanet.codeplex.com/discussions/435975#post1012843


Cheers,
Jacob

Viewing all articles
Browse latest Browse all 296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>