Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311949 - [DefaultTextEditComposer] Inconsistent serialization options used
Summary: [DefaultTextEditComposer] Inconsistent serialization options used
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 14:36 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 16:41 EDT (History)
0 users

See Also:
sebastian.zarnekow: helios+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.