I'm wanting to implement a two-column diff viewer based on RichTextFX's CodeArea; and to do that I need two CodeAreas side-by-side that are scrolled simultaneously. More specifically:
- Scrolling either CodeArea vertically, by any mechanism, should automatically scroll the other, so they display the same range of lines.
- Horizontally, I don't much care whether they scroll independently or not.
Is this possible with the current version? What's the cleanest way to do it?
I'm wanting to implement a two-column diff viewer based on RichTextFX's CodeArea; and to do that I need two CodeAreas side-by-side that are scrolled simultaneously. More specifically:
Is this possible with the current version? What's the cleanest way to do it?