I've got two identically-sized textarea widgets.
I want to synchronize both horizontal and vertical scrolling if this
is possible.
That is, when the user scrolls on either scrollbar on the left widget,
the widget on the right will scroll by the same amount.
Looking at the message watcher, I don't see any messages displayed
when I scroll on the vertical or horizontal scrollbar.
I would also like to synchronize the selecting (highlighting) of any
line, between the two textarea widgets.
That is, when the user selects a line on the left widget, that same
line will be displayed at the same position in the right texarea
widget, and highlighted as well.
At the moment, I have to doubleclick on the text 3 times in the
textarea widgets, before the entire line is highlighted.
This is very undesireable.
The example demos don't appear to have this kind of functionality.
Suggestions anyone?
|