Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to scroll a text widget to bottom in code?
How to scroll a text widget to bottom in code? [message #714851] Thu, 11 August 2011 15:41 Go to next message
Xihui Chen is currently offline Xihui ChenFriend
Messages: 35
Registered: June 2011
Member
I want to implement a console by myself, but didn't find a way to automatically scroll the text widget. Can anyone help? Thanks!
(no subject) [message #714860 is a reply to message #714851] Thu, 11 August 2011 15:48 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
there is a bug opened related to auto-scrolling:
319227: [Text] Multi text does not auto-scroll on append, insert operation
https://bugs.eclipse.org/bugs/show_bug.cgi?id=319227
If I remember correctly, the only way is to set the complete text again.
HTH,
Ivan

On 8/11/2011 6:41 PM, Xihui Chen wrote:
> I want to implement a console by myself, but didn't find a way to
> automatically scroll the text widget. Can anyone help? Thanks!
Re: (no subject) [message #715790 is a reply to message #714860] Mon, 15 August 2011 15:00 Go to previous messageGo to next message
Xihui Chen is currently offline Xihui ChenFriend
Messages: 35
Registered: June 2011
Member
Is there any style bit I need to set when create the text widget? I tried to set the complete text but it doesn't work either.
Re: (no subject) [message #716098 is a reply to message #715790] Tue, 16 August 2011 12:59 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

every SWT widget has a list of applicable styles in its class JavaDoc.

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:web based form and letter generator?
Next Topic:How to apply external JavaScript libraries in RAP?
Goto Forum:
  


Current Time: Thu Mar 28 17:26:43 GMT 2024

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

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

Back to the top