This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
AutoScroll text to bottom of a StyledText component in SWT
posted 4 years ago
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.