|
|
|
Re: Non-editable text has blinking cursor [message #440592 is a reply to message #440542] |
Wed, 04 August 2004 15:47 |
Steve Northover Messages: 1636 Registered: July 2009 |
Senior Member |
|
|
It should but really, why not just use the text widget and put up with the
caret?
"Roman" <dostick@apollo.lv> wrote in message
news:ceqi27$9le$1@eclipse.org...
> Thanks. I thought so. There is even a but about that, "non-editable text
> show focus" https://bugs.eclipse.org/bugs/show_bug.cgi?id=33241
>
> One question though, Is it reliable to use Label for that? If I have log
> scroller with endless text, like few megabytes, will it still work?
>
> Thanks
> R.
>
> Steve Northover wrote:
>
> > The cursor is used to show where the user can select and copy text. You
> > could create a Label and configure a ScrolledComposite to scroll it.
>
> > "Roman" <dostick@apollo.lv> wrote in message
> > news:celsvs$9st$1@eclipse.org...
> > > Hi,
> > >
> > > Is it possible to remove cursor from non-editable text?
> > > I just want to display a scrollable text, like License Agreement.
> > > Other use I have for read-only Text widget is auto-scrolling log
viewer.
> > >
> > > I use something like
> > > Text textPane = new Text(textComp, SWT.MULTI | SWT.READ_ONLY| .... )
> > > or
> > > textPane.setEditable(false);
> > >
> > > I set Text widget to non-editable and it still has cursor. Isn't it a
bug?
> > >
> > > Is there any way to have scrollable, non-editable text without
blinking
> > > cursor in SWT?
> > > Creating Browser widget or Label with scroll certainly whould be
overkill
> > > for such simple thing.
> > >
> > > Thank you.
> > > Roman.
> > >
> > >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02225 seconds