13. convertCase

Parameter syntax:

lower | upper | capital

If there is a text selection, this command converts the character case of this selection. If a single node is selected, this command converts the character case of all the text contained in this node. If there is no selection of any kind, this command converts the character case from caret position to end of word, then it moves the caret to the next word.

lower

All characters are converted to lower-case characters.

upper

All characters are converted to upper-case characters.

capital

First character of a word is converted to an upper-case character. The other characters are converted to lower-case characters.