Summary: | Next diff scrolls when going into current diff | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Nick Edgar <n.a.edgar> |
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Nick Edgar
2002-01-07 15:00:19 EST
I traced this down to an empty clientArea reported from the StyledText widget in TextViewer.getVisibleLinesInViewport() called from TextViewer.internalRevealRange(). As a consequence getVisibleLinesInViewport() returns -1 which results in some bogus scrolling. I have no idea why this is happening, however I added a workaround in TextMergeViewer.reveal(MergeSourceViewer v, Position p) to detect this case and avoid any errornous vertical scrolling. Reassigned bug to Platform/UI/TextViewer. More investigation post 2.0 As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |