Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336178 - [editor] LineNumberRuler doesn't always line up with editor when zoom is changed
Summary: [editor] LineNumberRuler doesn't always line up with editor when zoom is changed
Status: CLOSED DUPLICATE of bug 342973
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 19:07 EST by Andrew Niefer CLA
Modified: 2011-08-30 10:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***