Community
Participate
Working Groups
Build Identifier: 3.0.2.v20110208-0310 The indentation of protected area is removed when the protected block is contained directly within a file block Reproducible: Always
>>> 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