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

Bug 411534

Summary: Editor is missing rulers after removing and recreating the text view
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 3.0   
Target Milestone: 4.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-06-24 15:25:09 EDT
1. Open a file in the editor page
2. Use the sidebar navigator to delete the file you are editing.
3. The editor goes away.
4. Click another file in the sidebar navigator. 
5. The editor reappears, but it is missing the line number ruler and the overview ruler.

IIRC, the page holds onto an Editor instance, which it calls uninstallTextView() and installTextView() on as necessary to hide/show the editor. This doesn't seem to recreate the rulers.

We need to find a correct way to re-init the rulers when we need to show the Editor again.