File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
how to add a scrollpane...
Eclipse Source Code
swt styledtext search/find next
AutoScroll text to bottom of a StyledText component in SWT
Scroll inside styledText