Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Split grammar based text into 2 editors
Split grammar based text into 2 editors [message #1742767] Wed, 07 September 2016 09:47 Go to next message
Eclipse UserFriend
Hi,

I have two xtext-based web editors with the same grammar.

I start writing a text in the first editor. Then I click into the second one and would like to continue the text in it.
The context (content assist, validate) should be considered as the continuation of the text in the first editor.

My idea is to load the first text into second editor and set the model objects to transient.
Is it possible? In this case will the second editor be empty but the context initialized correctly?
Is there a place where I can modify the ecore model after created but not rendered yet?

Thanks a lot,
Tamás
Re: Split grammar based text into 2 editors [message #1743526 is a reply to message #1742767] Fri, 16 September 2016 04:15 Go to previous message
Eclipse UserFriend
I'd rather try to use two separate resources with appropriate scoping, such that elements from the first are visible/referable in the second.
Previous Topic:XText Web Editor problem with OCL Constraints using Pivot Evaluator
Next Topic:Using Xtext as a textual concrete syntax tool
Goto Forum:
  


Current Time: Wed Jul 02 17:24:08 EDT 2025

Powered by FUDForum. Page generated in 0.03850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top