cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Any way to hide XML comments in Arbortext editor?

sfogel
1-Visitor

Any way to hide XML comments in Arbortext editor?

Hi, all…


We will probably make extensive use of XML comments in the DITA topics that we edit in ArborText editor. Does anyone know of a way to hide them? We know how to collapse them, but are wondering if there was a way to completely hide them, including the enclosing tags, and even better, have ArborText remember the hidden state of the comment when you close and reopen a document.


What would serve us just as well would be for ArborText to remember the collapsed state of XML comments like it does with any other element when you close and reopen a document. Version 6.0 does not do that.


Thanks


Steve

1 REPLY 1

Hi Steve


You can simply use 'set showcomments=off' that you can stick in your ACL file. See the reference below.


Thanks


Marcin




set showcomments={ on | off}

This command enables or disables the display of comments in the Edit window and the Document Map. If your cursor is in the Edit window and set showcomments is set to off, comment text in the Edit window is hidden and barbell icons represent the comment tags if the tag display mode is full or partial. If the tag display mode is none, no markers appear in the Edit window.

If your cursor is in the Document Map and set showcomments is set to off, the comment icon, label, and text are hidden in the Document Map.

The default setting is on.




In Reply to Steve Fogel:



Hi, all…


We will probably make extensive use of XML comments in the DITA topics that we edit in ArborText editor. Does anyone know of a way to hide them? We know how to collapse them, but are wondering if there was a way to completely hide them, including the enclosing tags, and even better, have ArborText remember the hidden state of the comment when you close and reopen a document.


What would serve us just as well would be for ArborText to remember the collapsed state of XML comments like it does with any other element when you close and reopen a document. Version 6.0 does not do that.


Thanks


Steve


Announcements

Top Tags