Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: David Robinson on April 16, 2009, 08:44:34 pm

Title: Preserve line breaks in Notes field on reverse-eng
Post by: David Robinson on April 16, 2009, 08:44:34 pm
EA code generation writes Notes as comments into code, preserving the line breaks as defined. The line breaks are removed on reverse-engineering, losing the formatting.

HTML tags such as <b></b> and <ul></ul> are already used for markup, so <br /> should not be too tricky.
Title: Re: Preserve line breaks in Notes field on reverse
Post by: Eve on April 20, 2009, 08:28:15 am
There is already an option to preserve line breaks in comments.

Tools | Options | Source Code Engineering | Remove Hard Breaks from Comments on Import.

However, you won't end up with the exact same notes.  Where the original comments were wrapped to fit within the specified column width, the imported comments will have newlines.