Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 438103

Summary: wrapped lines can cause textView.getBottomIndex() to answer wrong values
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 6.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Grant Gayed CLA 2014-06-24 16:55:24 EDT
- similar to bug 438102 this only happens when word wrap is on

The markdown viewer calls textView.getBottomIndex() when scrolling to determine if the bottom line has scrolled into the viewport.  However this call often gives an incorrect value when approaching (but not yet reached) the end of the document.  It will answer the index of the bottom line well before it has scrolled into the viewport, which throws off the markdown editor's preview positioning.
Comment 1 John Arthorne CLA 2015-05-05 16:19:52 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html