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

Bug 181168

Summary: [Viewers] Line number ruler should use editor font and same color as in text editors
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: CompareAssignee: Michael Valenta <Michael.Valenta>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to Compare none

Description Markus Keller CLA 2007-04-05 06:44:04 EDT
HEAD

Line number ruler in compare editors should use editor font and same color as in text editors. Currently, it uses the default system font and renders in black.
Comment 1 Michael Valenta CLA 2007-04-30 09:41:07 EDT
Assuming that everything is properly exposed in the text editor API, this should be straight forward.
Comment 2 Michael Valenta CLA 2007-05-07 16:27:52 EDT
Created attachment 66210 [details]
Patch to Compare

Markus, could you review this patch?
Comment 3 Markus Keller CLA 2007-05-08 05:58:19 EDT
Looks good, except that the line number ruler is not relayouted after the font has changed
=> width does not adapt to new font size initially
=> problem resolved when editor is resized
Comment 4 Michael Valenta CLA 2007-05-08 10:13:49 EDT
Patch released with re-layout on font change added.
Comment 5 Michael Valenta CLA 2007-05-22 10:49:12 EDT
Verified in I20070522-0010