Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » StyledText-AbstractDecoratedTextEditor(StyledText-AbstractDecoratedTextEditor Vertical Scroll Bar position)
StyledText-AbstractDecoratedTextEditor [message #500243] Wed, 25 November 2009 13:38
Ashok  is currently offline Ashok Friend
Messages: 8
Registered: November 2009
Junior Member
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.
Previous Topic:Programmatically add tabs to a TabbedPropertySheet
Next Topic:Create auto-completion using file
Goto Forum:

Current Time: Sun Mar 07 17:47:17 GMT 2021

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

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

Back to the top