Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XtextEditor based on a string
XtextEditor based on a string [message #668660] Fri, 06 May 2011 15:33
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

can I open an Xtext editor not based on a file, but on a string? The
string represents the whole program I'd like to edit (thus I do not need
to open the editor on a part of a file, like in the integration with GMF).

I'd like to embed it into another editor; I saw that there's a form
integration example, but it looks like one needs to write a lot of code;
is that lot of code required by the integration in a form, or is it
required anyway?

thanks in advance
Lore

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Previous Topic:Strange selection in editor when selecting something in outline
Next Topic:problems with the example of GMF integration
Goto Forum:
  


Current Time: Fri Apr 26 01:01:12 GMT 2024

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

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

Back to the top