|
Re: Auto-line-wrapping [message #668435 is a reply to message #668353] |
Thu, 05 May 2011 15:44 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Ed,
there were some fixes in the formatting engine which may have introduced
the regression since M5. Please provide your formatting config and your
grammar in a bugzilla.
Thanks,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 05.05.11 12:44, schrieb Ed Willink:
> Hi
>
> Is there a trick to making auto-line-wrapping work in 2.0M7?
>
> In M5 it seemed to work.
> In M6 line wraps were introduced but with inadequate indentation.
> In M7 there seems to be no auto-line-wrapping, which is better than M6.
>
> From the documentation it would appear that because many elements in:
>
> 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;
>
> had enforced no spaces, the auto-line-wrapper has overlooked some places
> where line-breaks could be introduced.
>
> [It would be really good to have Javadoc for the formatter so that
> hovering over e.g. setLineWrap will instantly tell you the argument
> semantics.]
>
> Regards
>
> Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.02836 seconds