Page 1 of 1

Pretty Print (Indent) Style for Comments

Posted: Wed Oct 10, 2007 2:49 pm
by martinmkm
I have a schema that is very heavily commented. Many enumerations have comments describing each code following each value. When I inadvertently run the auto-indent, all the comments get moved down to the following lines. I'd really rather have comments stay on the line, even if they pass the print margin, etc.

Is this something that can be modified? How?

Mike

Posted: Thu Oct 11, 2007 10:28 am
by sorin_ristache
Hello,

Do you mean to allow the comments to have a line width larger than the limit set in Options -> Preferences -> Editor -> Format -- Line width? That is a maximum limit for any line of the document. I think the document is not more readable if all the other lines are limited to this width but the comments will have a larger width. If you want to preserve the comments as they are you should increase the line width for format and indent in Preferences.


Regards,
Sorin