Description
This tag enables hidden/channelized text.
Parameters and typographical expressions
1.Level. A positive integer, or a typographical expression that results in such a number. Set value too 0 to make the text visible. Other values make the text hidden.
2.Mode. This additional parameter specifies the composition mode - and also modifies the meaning of the first parameter.
Valid modes are:
•0=normal text (the first parameter is ignored)
•1=notes mode text (the first parameter is the notes mode code)
•2=text specific for a certain region (the first parameter is the region id)
•3=text for any region except one (the first parameter is the region id)
•4=inserted text (the parameter value is the version number of the text insertion) - not used
•5=deleted text (the first parameter is the version number of the text insertion) - not used
When the first parameter is greater than 1, and the second is 0, this can be used to route parts of text to different media. The color of the hidden text in the source pane is defined by an user personal preference, and you can set it for each level independently.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. Also, in the source pane of the Text Editor Ted4 in the color, chosen in the Comments box and in the font, chosen in the Default box of the Preferences dialog box of the Text Editor Ted4, or of the source pane of the Page Editor Fred4.
Type and scope
Can be inserted anywhere in text. Always global, therefore effects do not stop at the end of that paragraph. To stop it, insert the tag >rem<.
See also
>rem 1< or >rem 1,1< apply the hidden attribute on the current text. >rem 4< or >rem 4,1< apply the hidden attribute on the current text. The level 4 can be used by XML exporter, or other automatic processes >rem 0< or >rem< or >rem 0,0< makes text visible >rem 13,2< makes visible the text for the region with ID=13, when that region is set as a current region. >rem 13,3< makes visible the text for the region with ID=13, when the current region is any region except the region with ID=13. |
You can review and set hidden/channelized texton the H&M tab of the Character palette, or on the Text Hyphenation/Mode palette. Alternatively, click the "blind" icon in the toolbar, or press SHIFT+CTRL+X. |
The built-in command Text.EditRemOn apply hidden text. The related system script is EditRemOn. The built-in command Text.EditRemOff unhide hidden text. The related system script is EditRemOff. The user script FontStyleBlind toggle hidden text. |
In Ted4 & Fred4 it is possible to get and set hidden text by the TextStatus object. To get hidden text status: dim objTS = Ted4.GetTextStatus if objTS.HasRemCode then msgbox (objTS.RemCode) end if To set hidden text (level 1): dim objTS = Ted4.GetTextStatus objTS.Reset objTS.RemCode = 1 Ted4.SetTextStatus (objTS) To unhide text: dim objTS = Ted4.GetTextStatus objTS.Reset objTS.RemCode = 0 Ted4.SetTextStatus (objTS) |