|Re: Selecting text in multiple Text widgets simultaneously with SWT.MULTI style - can I stop this? [message #495072 is a reply to message #494772]
||Tue, 03 November 2009 17:17
| Grant Gayed
Registered: July 2009
This is logged as https://bugs.eclipse.org/bugs/show_bug.cgi?id=216666 .
Reading the report, it's believed that this is native behaviour, but there
aren't other native apps sited to prove/disprove this. If you're able to
find a native app that demonstrates that this behaviour is wrong then please
add a comment to the report with it, and it may serve as a catalyst for
investigating this further.
The only workaround I can think of is to add focus in/out listeners to the
Texts and clear/set the selection when needed.
"Tim Moore" <email@example.com> wrote in message
> I've added several Text widgets to a Composite, each Text widget has the
> On Windows, as well as allowing the Text to span multiple lines, and for
selection to span multiple lines, it also allows you to select text in
multiple Text widgets simultaneously. However, only the last selection is
copied.For comparison, Linux/GTK only permits a selection in one Text.
> See attached for example.
> Does anyone know if this behavior is by design, and in any case how to
work around it?
Powered by FUDForum
. Page generated in 0.01584 seconds