Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Text widget: selectAll()
Text widget: selectAll() [message #92516] Tue, 10 June 2008 12:56 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Text widget: getSelectionText()
Next Topic:RAP Startup Page
Goto Forum:
  


Current Time: Sat Apr 20 04:06:33 GMT 2024

Powered by FUDForum. Page generated in 0.03323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top