We're successfully using RSyntaxTextArea 2.0.1 in our project, and I have a small question about making the area scroll automatically.
When "stepping" through code in debug mode, the "current" line must always stay in the viewport. To achieve this, I first just used the caret position, like so:
- Code: Select all
This results in having the window scrolled so that the line with the caret is always visible. Good.
Unfortunately, we just noticed that doing so causes the full code to be reparsed for syntax highlighting. This, for long contents, takes a considerable amount of time.
Is there a better way to force the area to scroll to a given line programmatically ? Or is that issue solved in v2.5.0 ?
Thanks and keep on the good work !