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

Bug 368347

Summary: 'IXtextDocument.modify(IUnitOfWork)' does not wait for Xtext reconciler to do its job
Product: [Modeling] TMF Reporter: Alex Ruiz <alruiz>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: alruiz, sebastian.zarnekow
Version: 2.2.1Flags: sebastian.zarnekow: kepler+
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Alex Ruiz CLA 2012-01-11 09:24:56 EST
Build Identifier: 20110916-0149

Currently I'm manipulating the Xtext-generated AST via IXtextDocument.modify(IUnitOfWork). The problem is that 'modify' does not wait till the parser (or the Xtext reconciler) finishes before starting AST manipulation. 

For more details please read thread http://www.eclipse.org/forums/index.php/t/275445/ in Xtext forum.



Reproducible: Always
Comment 1 Sebastian Zarnekow CLA 2012-12-10 07:31:32 EST

*** This bug has been marked as a duplicate of bug 345171 ***