FURCAS-dev / FURCAS

A Eclipse Language Workbench for view-based textual modelling based on EMF
http://www.furcas.org
11 stars 2 forks source link

Formatting and comments in TCS Mapping (#104) #114

Open StephanErb opened 13 years ago

StephanErb commented 13 years ago

Our SynaxParser, as used within the SyntaxBuilder when a .tcs file is changed, should use the incremental parser instead of the plain ANTLR parser.

We can then store the resulting TextBlocks model and users don't loose their formatting information and comments when modifying the model representation of the syntax. When saving the model information we can then overwrite the .tcs file with the textual content of the modified model.