|XtextResource.save() containing strings with carriage return [message #1396601]
||Tue, 08 July 2014 14:35
| Stephane Bouchet
Registered: July 2009
i'm trying something quite simple, but face a problem using xtext resource.
i've got a very simple dsl :
in the editor, i can write:
now i want to create the same file contents using only the API.
I create an XtextResource with a content set to "hello\nworld".
when i save this resource, and open it using an editor, i get:
is there an option i missed to not serialize the \n but the real carriage return char ?
[Updated on: Tue, 08 July 2014 14:36]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01589 seconds