Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » using non java style escaping in xtext eclipse editor
using non java style escaping in xtext eclipse editor [message #822247] Fri, 16 March 2012 11:03
joe simon is currently offline joe simonFriend
Messages: 1
Registered: March 2012
Junior Member
hi xtext experts,

i am new to xtext and still learning a lot of things.

my problem is

in my grammar i have a function that replaces strings in string (like the java replaceall function)

the grammar should work with "normal" regular expressions.
so in the eclipse editor and saved file no java escaping should exist.


should then result in 20120316 but is invalid in the editor window

my problem with the eclipse xtext integration is that i cannot enter non java escaped strings in the editor

is correct for the editor.

so is there a way for deactivating this behaviour (overwrite terminal def, or create a stringvalueconverter) or changing the save/loadfile behavior (converting escape sequences when loading/saving).

any hints/ideas/sollutions

Previous Topic:extending grammar: error in generated Semantic Sequencer?
Next Topic:Create own notice elements
Goto Forum:

Current Time: Sun Sep 20 18:58:06 GMT 2020

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

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

Back to the top