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

Bug 343985

Summary: [compare] 'Show Whitespace Characters' doesn't work in Java container compare editor
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Keller CLA 2011-04-27 12:09:00 EDT
I20110426-2000

The 'Show Whitespace Characters' action doesn't work in container compare in the Java compare editor (compare two projects or folders, then open a .java file comparison). The action is in the context menu, but whitespace is never rendered.

Works fine for pure text compare. Looks like the problem is that JavaMergeViewer#isEditorBacked(ITextViewer) returns true in this case, but JavaMergeViewer.CompilationUnitEditorAdapter#createActions() is never called (so the action doesn't get registered).
Comment 1 Dani Megert CLA 2011-04-28 05:17:00 EDT

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