Author Topic: Preserve line breaks in Notes field on reverse-eng  (Read 2833 times)

David Robinson

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Preserve line breaks in Notes field on reverse-eng
« 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.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Preserve line breaks in Notes field on reverse
« Reply #1 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.