Script Editor: Language of JXA Text documents is not restored on reopen
| Originator: | adriannier | ||
| Number: | rdar://21398813 | Date Originated: | 16-Jun-2015 10:49 AM |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | 10.11 (15A178w) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When reopening a previously saved JXA document in Text format with Script Editor 2.7 (179), the language is not properly restored resulting in Syntax Errors the next time the script is compiled or saved. Steps to Reproduce: 1. In Script Editor 2.7 (179), change the default language to AppleScript. 2. Reopen a previously saved JXA document in Text format. 3. Look at the leftmost control in the navigation bar. Expected Results: The control reads JavaScript. Actual Results: The control reads AppleScript. Notes: Please consider saving raw text JXA documents with the .js or .jxa extension. Thank you.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!