Synchronized scrolling of multiple TextArea widgets

"Tony Cappellini" <[email protected]> Thu, 29 Nov 2007 15:20:53 -0800
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
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?

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4