Text widget: selectAll() [message #92516] |
Tue, 10 June 2008 12:56 |
Eclipse User |
|
|
|
Originally posted by: topgun.in.gmail.com
Hi,
I instantiated a Text widget in Text#createPartControl(), set a default
text and invoked selectAll(). But when I ran the application the text did
not appear selected.
Can someone provide a code snippet that works?
Thanks,
Pushkar
|
|
|
Re: Text widget: selectAll() [message #92595 is a reply to message #92516] |
Tue, 10 June 2008 20:55 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Pushkar,
are you aware of this bug:
223903: text.selectAll() does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223903
to me it looks this prevents your code from working.
Cheers,
Rüdiger
Pushkar Raj Pande wrote:
> Hi,
>
> I instantiated a Text widget in Text#createPartControl(), set a default
> text and invoked selectAll(). But when I ran the application the text
> did not appear selected.
>
> Can someone provide a code snippet that works?
>
> Thanks,
> Pushkar
>
|
|
|
Re: Text widget: selectAll() [message #92676 is a reply to message #92516] |
Wed, 11 June 2008 08:44 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
this seems to be related to:
236577: [Text] Text#setSelection(int,int) doesn't work properly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=236577
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Pushkar Raj Pande [mailto:topgun.in@gmail.com]
Bereitgestellt: Dienstag, 10. Juni 2008 14:57
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Text widget: selectAll()
Betreff: Text widget: selectAll()
Hi,
I instantiated a Text widget in Text#createPartControl(), set a default
text and invoked selectAll(). But when I ran the application the text
did
not appear selected.
Can someone provide a code snippet that works?
Thanks,
Pushkar
|
|
|
Re: Text widget: selectAll() [message #92722 is a reply to message #92676] |
Wed, 11 June 2008 09:19 |
Eclipse User |
|
|
|
Originally posted by: topgun.in.gmail.com
Hi,
It looks like it is due to that bug.
Thanks,
Pushkar
Frank Appel wrote:
> Hi,
> this seems to be related to:
> 236577: [Text] Text#setSelection(int,int) doesn't work properly
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=236577
> Ciao
> Frank
> -----Ursprüngliche Nachricht-----
> Von: Pushkar Raj Pande [mailto:topgun.in@gmail.com]
> Bereitgestellt: Dienstag, 10. Juni 2008 14:57
> Bereitgestellt in: eclipse.technology.rap
> Unterhaltung: Text widget: selectAll()
> Betreff: Text widget: selectAll()
> Hi,
> I instantiated a Text widget in Text#createPartControl(), set a default
> text and invoked selectAll(). But when I ran the application the text
> did
> not appear selected.
> Can someone provide a code snippet that works?
> Thanks,
> Pushkar
|
|
|
Powered by
FUDForum. Page generated in 0.02978 seconds