setWordCharactersets(wordChars: String; punctuationChars: String; whitespaceChars: String);
The setWordCharactersets method of the JadeTextEdit class sets the characters that are treated as part of a word (specified in the wordChars parameter) and those that are treated as white space (specified in the whitespaceChars parameter) and those that are treated as punctuation (specified in the punctuationChars parameter) in the text editor.
The keyboard command for the next word (that is, Ctrl+right arrow) and for the previous word (that is, Ctrl+left arrow) use these character sets. (See also the moveCaret method.)
As white space characters are skipped when positioning the caret before the previous or next word, you can use the setWordCharactersets method to specify additional characters that are ignored when searching for the next or previous word. Characters can be in the ranges a through z, A through Z, and 0 through 9, as well as the period (.), comma (,), exclamation point (!), and question mark (?) symbols (for example, ".,!? ").
Each setWordCharactersets method call restores the character sets to the default values. The default character sets are:
Word character set
Uppercase and lowercase letters, digits, underscore characters, and any character with a decimal value greater than 127.
Whitespace
Space, tab, and all control characters (decimal value less than 32).
Punctuation
All other character sets.
Characters specified in each parameter are added to the appropriate character set. A specified character can be in one character set only.
Limit the specified characters to the decimal equivalent range of zero (0) through 127. Extended and Unicode characters default to the word character set.