|Re: [Acceleo] white lines into code and code move [message #661112 is a reply to message #661021]
||Wed, 23 March 2011 09:08
| Stephane Begaudeau
Registered: April 2010
Location: Nantes (France)
In order to help you with this, it would be way easier if I had a the template involved but since I already faced those two problems, here is what I think:
1- blank lines
If you write this :
And if your call to "callMyTemplate(...)" returns en empty string, a blank line will be generated. If you want to prevent this from happening, you can use an "if".
[if (not iKnowSomeConditionThatWillNotGenerateAnything)]
That way, you will prevent the blank line from being generated.
2- code moving to the right
Is that code inside of a protected area ? Because we have a bug for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=331978
If its not in a protected area, I'll have to look at the template involved because I've never seen this.
Stephane Begaudeau, Obeo
Acceleo wiki: http://wiki.eclipse.org/Acceleo
Blogs: http://stephanebegaudeau.tumblr.com & http://sbegaudeau.tumblr.com
[Updated on: Wed, 23 March 2011 09:08]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01721 seconds