style parameter

Use the style parameter to set or query the style characters for the current view's view of the current view's element.  The style attributes for the style charactes are specified with the styleAttributes parameter.

Style characters are normally set by the document parser.  The parser usually sets a string of style characters that is equal in length to the length of the element's text.  The editor will draw each character of element text with the style attributes of the style character that is in the corresponding position in the style string.

 

Availability

query command
set command

 

Scope

The current view's view of the current view's current element.

 

Syntax

query style
set style styleCharacters 

 

Parameters

styleCharacters Use the styleCharacters parameter to indicate the style characters that should be used to display the text of the current element.

 

Examples

query style
set style cccc__aaaa 

Related concepts
Document parsers

Related reference
query command
set command
styleAttributes parameter
text parameter