thSoft / elysium

LilyPond IDE for Eclipse
http://elysium.thsoft.hu
14 stars 3 forks source link

alternative OpenReadOnly #164

Closed nittka closed 6 years ago

nittka commented 6 years ago

This is an alternative (and superior) approach to opening workspace external files read only. Currently, the editor input is wrapped as XtextReadonlyEditorInput. For score to source links this caused each link to be opened in a new editor.

The fix is extending XtextDocumentProvider which was responsible for enabling editing for orignially read-only inputs. In addition, the editor's title tooltip now shows name and location, so you can easily see where the opened file is located.

thSoft commented 6 years ago

Great, thank you!