Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsText: highlight selected text
https://www.eclipse.org/forums/index.php/mv/msg/146490/461113/#msg_461113
using gtk i want to create a Text which the content highlighted when i
click into it.
playing around with
Text myText=new Text(parent, SWT.NONE);
myText.selectAll()
or
myText.setSelection(0);
does not work, the text is not highlighted.
any help appreciated.
regards]]>arne anka2005-09-16T12:13:19-00:00Re: highlight selected text
https://www.eclipse.org/forums/index.php/mv/msg/146490/461587/#msg_461587
This is Windows platform behavior.
"arne anka" <arne.anka@ginguppin.de> wrote in message
news:op.sw62whtluyrgnr@komhem...
> hi,
> using gtk i want to create a Text which the content highlighted when i
> click into it.
> playing around with
>
> Text myText=new Text(parent, SWT.NONE);
> myText.selectAll()
> or
> myText.setSelection(0);
>
> does not work, the text is not highlighted.
> any help appreciated.
>
> regards]]>Steve Northover2005-09-26T22:44:18-00:00