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

Bug 387220

Summary: AsyncStyler shouldn't trash the editor when it gets an error
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: 1.0   
Target Milestone: 1.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-08-14 12:01:14 EDT
Using Orion 1.0 M1

1. Install the (incompatible) 0.5 version of the Codemirror plugin [1]
2. Try to open a .rb or .html file (or any other extension that CodeMirror handles)
3. You get an empty editor and some Javascript errors.

Due to an API change, the expected methods don't exist on the service. This needs to fail more gracefully.

[1] http://mamacdon.github.com/0.5/plugins/orion-codemirror/codeMirrorPlugin.html