Skip to main content



      Home
Home » Modeling » TMF (Xtext) » multiple line string terminal in xtext(multiple line string terminal in xtext)
multiple line string terminal in xtext [message #1135925] Sun, 13 October 2013 10:15 Go to next message
Eclipse UserFriend
Hi,

I want to create a terminal which support on multiple line string.
for example:
"I love xtext
and java"

thanks in advance,
Dana
Re: multiple line string terminal in xtext [message #1135971 is a reply to message #1135925] Sun, 13 October 2013 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi i thought this works out of the box

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Re: multiple line string terminal in xtext [message #1137074 is a reply to message #1135971] Mon, 14 October 2013 04:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I meant that in my dsl i configured in mydsl.txext:
MyString: string=STRING;


but in the plugin when i insert
"I love xtext
and java"

I got the following error:
Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value

thanks,
Dana
Re: multiple line string terminal in xtext [message #1137076 is a reply to message #1137074] Mon, 14 October 2013 04:45 Go to previous messageGo to next message
Eclipse UserFriend
Strange: On my Machines it works ...
are you sure you dont have any special configs in your grammars
Re: multiple line string terminal in xtext [message #1137461 is a reply to message #1137076] Mon, 14 October 2013 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Thank you.
Is it configured in Terminals.xtext?
Re: multiple line string terminal in xtext [message #1137531 is a reply to message #1137461] Mon, 14 October 2013 11:04 Go to previous message
Eclipse UserFriend
Yes

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Previous Topic:ClassCastException & JobReconcilier
Next Topic:Strip comments during serialization?
Goto Forum:
  


Current Time: Mon Jul 07 04:41:28 EDT 2025

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

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

Back to the top