Pretty Print (Indent) Style for Comments

Oxygen general issues.
martinmkm
Posts: 1
Joined: Wed Oct 10, 2007 2:45 pm
Location: South Carolina

Pretty Print (Indent) Style for Comments

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply