Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311949

Summary: [DefaultTextEditComposer] Inconsistent serialization options used
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: sebastian.zarnekow: helios+
Version: 1.0.0   
Target Milestone: RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-05-06 14:36:01 EDT
The default implementation of the textedit composer serializes without formatting if a single object was modified but with enabled formatting if the resource is marked as changed. Furthermore it calls string.trim() on the serialization result if the resource changed. This could break the syntax of the serialization result. 

As this one is easy to fix, I'll schedule it for RC1.
Comment 1 Sebastian Zarnekow CLA 2010-05-12 05:01:37 EDT
Fixed in HEAD.
Comment 2 Karsten Thoms CLA 2017-09-19 16:41:14 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.