StyledText-AbstractDecoratedTextEditor [message #500243] |
Wed, 25 November 2009 08:38 |
Eclipse User |
|
|
|
I have files from remote system displayed onto a TextEditor. Only 300 lines of text will be displayed in the Editor at a given time and on demand next set of records will be fetched. I wanted to control to scroll position relative to the actual size of the file.
Say for example if the file has 1000 lines text the scroll bar should position in the editor for 1000 lines. Now the scrollbar is set to 300 lines and when you reach to 299 line the scrollbar reaches to end of file area and when the next set of records are fetched, the scrollbar posistion get reset to the new content. The scroll bar should reach to the end of the text area only when it reaches to 1000th line.
Any help in this regard will be of great help.
|
|
|
Powered by
FUDForum. Page generated in 0.04914 seconds