Editor.getSymbols
This function returns the array of symbols currently in use in "Insert Character" menu.
It's main purpose is to allow developers to extend the Xopus default symbols by merging the array returned by this function with your own, and supplying Editor.setSymbols() with the resulting array:
Editor.setSymbols(null); var base = Editor.getSymbols(); extended = base.concat(["a", "b", "c"]); Editor.setSymbols(extended);
- Documentation
- › API
- › Global objects API
- › Editor.getSymbols
Editor.getSymbols() : Array
: ArrayReturn Value
History
| version | event |
|---|---|
| Xopus 4.0.3 | Fixed error in Editor.getSymbols(). |
| Xopus 4.0.2 | Bug. Editor.getSymbols() always throws a Cloning functions is not implemented yet exception. |
| Xopus 3 | Introduction. Replaces Application.getSymbols(). |