45. insertSpecialChars
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 45. insertSpecialChars

Parameter syntax:

    [ hexadecimal, octal or decimal code of first character displayed by a 256-character palette ]?

Inserts one or more ``special characters'' at caret position. These characters are selected using a modal dialog box which is similar to the Characters tool of XMLmind XML Editor.

If a Unicode code has been specified in the parameter, the dialog box displays a 256-character palette starting at this character; otherwise the dialog box displays the last character palette chosen by the user.

Examples: 9984 is first Dingbats character in decimal notation, 023400 is same character in octal notation (must start with "`0`"), 0x2700 is same character in hexadecimal notation (must start with "`0x`").

    insertSpecialChars
    insertSpecialChars 0x2700
    insertSpecialChars 023400
    insertSpecialChars 9984

This command has been added mainly to allow simple XML editors built using XXE components (that is, not XXE itself) to have the same facilities than XXE.

Prev | Up | Next
44. insertOrOverwriteString | Home | 46. insertSameBlock