[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Accessing editor contents

Hi Oscar,

please use the newsgroup / forum [1] for such questions. 
Search the forum (or the web) for "Xtext Forms integration"

Regards,
Sven

[1] - http://www.eclipse.org/forums/index.php?t=thread&frm_id=27&

On May 3, 2011, at 10:04 PM, Oscar Gueta wrote:

Hello,
 
     I need to extend xtext functionality. I completed the coloring of source code and the syntax checking, but need to access the editor contents. I need to load the editor contents from a buffer and among other methods to fit xtext it into my eclise application.
 
    Can anyone provide an example on how to do it?
 
    I am looking for something like:
 
    myExtendedETextClass x = new MyExtenderETextClass();
    x.loadFromStringBuffer("My source code contents");
 
    Thanks!
 
/Oscar
_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev