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

Bug 336178

Summary: [editor] LineNumberRuler doesn't always line up with editor when zoom is changed
Product: [ECD] Orion Reporter: Andrew Niefer <aniefer>
Component: ClientAssignee: Project Inbox <e4.orion-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, Silenio_Quarti
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Niefer CLA 2011-02-02 19:07:48 EST
See http://aniefer.blogspot.com/2011/02/embedding-orion-editor_02.html

If the zoom is changed from 100% with ctrl + '-' or ctrl + '+', the the line numbers from LineNumberRuler don't quite match up with the actual lines in the editor.

At the bottom of the first editor, the line "parentNode.style.height = ..." is actually the 57th line of text.
On Windows xp, In Chrome 8.0.552.237 at 83% this appears as line 58
at %120 it appears as line 59

Similar offsets occur for me in Firefox 3.6.13
Comment 1 Felipe Heidrich CLA 2011-05-06 15:46:06 EDT

*** This bug has been marked as a duplicate of bug 342973 ***