Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparently Xtext 2.7 is causing "The resource is currently edited in another editor" complaint #61

Closed
GoogleCodeExporter opened this issue Apr 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

The problem

1. Edit a .ly file
2. Save
3. Edit again

There shouldn't be any complaints just because of normal editing. Instead, the 
complaint keeps coming again and again.


Product versions:

Was using Eclipse Juno, then upgraded to Luna.
Windows 7
Xtext 2.7


Additional information:

When getting the project from git and setting up and running the project as per 
the developer instructions, the runtime environment gets Xtext 2.6 and the 
problem doesn't reproduce.

I got the idea that maybe it's about Xtext 2.7, from here:

   https://github.com/jknack/antlr4ide/issues/89
   https://www.eclipse.org/forums/index.phpt=msg&th=827695&goto=1441413&#msg_1441413

A quote from Xtext developer:

"it appears that you have more than one editor callback that tries to
register the resource at the dirty state manager. This was changed for
2.7 to be a direct support on the editor. If you have custom editor
callbacks, make sure they don't try to register the resource again."

Original issue reported on code.google.com by caiusgrr on 6 Dec 2014 at 1:51

@GoogleCodeExporter
Copy link
Author

Fixed in f6893dc

Original comment by harmathdenes on 26 Dec 2014 at 12:59

@GoogleCodeExporter
Copy link
Author

Original comment by harmathdenes on 26 Dec 2014 at 1:00

  • Changed state: Fixed

thSoft added a commit that referenced this issue Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant