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

Bug 344863

Summary: M7: Auto-line-wrap no longer works
Product: [Modeling] TMF Reporter: Ed Willink <ed>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Grammar and formatter none

Description Ed Willink CLA 2011-05-05 12:32:13 EDT
Created attachment 194851 [details]
Grammar and formatter

A long complex expression as the SpecificationCS  in 

DerivedConstraintCS returns OCLinEcoreConstraintCS:
	stereotype='derivation' ':' specification=SpecificationCS ';'
;

is all on one line, following a line break after the ':'.

e.g.

           let table : Set(Tuple(range : Sequence(Integer), size : CompanySizeKind)) = Set{Tuple{range = Sequence{0..49}, size = CompanySizeKind::small}, Tuple{range = Sequence{50..999}, size = CompanySizeKind::medium}, Tuple{range = Sequence{1000..1000000}, size = CompanySizeKind::large}} in table->any(range->includes(employees->size())).size;

On M5, the formatting was, I think, reasonable. On M6 there were line breaks but with some but inadequate indentation. On M7 it's all on one line.
Comment 1 Ed Willink CLA 2011-05-07 12:35:19 EDT
I'm not convinced that this report is valid. I've found a couple of smelly aspects of my code. So INVALID for now, I'll REOPEN if I can produce a more confident report.
Comment 2 Karsten Thoms CLA 2017-09-19 17:17:55 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:29:14 EDT
Closing all bugs that were set to RESOLVED before Neon.0