| Summary: | Indentation of protected area is removed inside a file block | ||
|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Gonzague Reydet <gonzague.reydet> |
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastien.latre, stephane.begaudeau |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Gonzague Reydet
>>> Reproducible: Always I tried to reproduce the problem, and it works for me as you can see it in the following picture: https://lh6.googleusercontent.com/_R0aPxLxg16E/TcKvBu7ddjI/AAAAAAAAARA/m74rtZlM4q4/ProtectedAreaInFileBlock.png (Even after several new generations) Please note that the indentation of the "start of user code" and "end of user code" is only kept if the is something else than a whitespace on the line. In my screen, if I remove the "//" before the begin and the end of the protected block I would lost their indentation but not the indentation of the body of the protected area (and it would be the same in a template). It may be working for me because of my new fix for this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=331978 |