This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes AutoScroll text to bottom of a StyledText component in SWT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "AutoScroll text to bottom of a StyledText component in SWT" Watch "AutoScroll text to bottom of a StyledText component in SWT" New topic
Author

AutoScroll text to bottom of a StyledText component in SWT

ragz wifer
Greenhorn

Joined: Dec 22, 2010
Posts: 22
Hi,

I'm reading a text file and displaying in the styledtext component of SWT, each time a new line is appended it's not shown, i mean the line is added to the next row but the scrollbar is NOT scrolling to the next row.
How can i make it auto scroll, as a workaround i tried using



it does auto scroll,but shows the complete selection of text, can someone provide an optimal and better programming practice for this case.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AutoScroll text to bottom of a StyledText component in SWT
 
Similar Threads
AutoScroll text to bottom of a StyledText component in SWT
how to add a scrollpane...
swt styledtext search/find next
Scroll inside styledText
Eclipse Source Code