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

Bug 374287

Summary: Outline not updating when opening another file
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Screen shot none

Description John Arthorne CLA 2012-03-14 13:38:22 EDT
I20120313-2230 on orion.eclipse.org.

- I had an html file open, with a content outline provided by the HTML Outline plugin. 
- Invoked Ctrl+Shift+F to find file, and selected a JS file

-> The JS file opens in the editor, but the outline is still showing the outline from my previous HTML editor.
Comment 1 John Arthorne CLA 2012-03-14 13:39:13 EDT
Created attachment 212673 [details]
Screen shot
Comment 2 John Arthorne CLA 2012-03-14 13:41:22 EDT
Hitting F5 refreshed the outline to show the correct thing. However I then hit back arrow in browser to go back to my HTML file, and I can see the nonymous outliner is now trying to parse my HTML file:

Nonymous Plugin Connected, home page: https://github.com/johnjbarton/outliner
nonymousOutliner.js:62Nonymous: uglify parse: 16ms, naming: 12ms 43% outline: 0ms
nonymousOutliner.js:49Error parsing file: Unexpected token: operator (<) (line: 0, col: 0, pos: 0)

TypeError: object is not a function
    at new JS_Parse_Error (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:263:21)
    at js_error (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:274:15)
    at croak (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:723:17)
    at token_error (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:730:17)
    at unexpected (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:736:17)
    at http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:1104:17
    at http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:777:42
    at maybe_unary (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:1189:27)
    at expr_ops (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:1216:32)
    at maybe_conditional (http://johnjbarton.github.com/outliner/lib/UglifyJS/lib/parse-js.js:1220:28)
Comment 3 John Arthorne CLA 2015-05-05 15:46:00 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 4 John Arthorne CLA 2015-05-05 15:59:46 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html