284d4b8ec8
(1) Add UI controls for `keyMap`, `tabSize`, `indentWithTabs`, and `lineWrapping`; `indentUnit` tracks `tabSize`. (2) Dispatch `change` events from `loadPrefs` to initialize CM options from the controls' event listener. (3) Move stock options from the `CM.fromTextArea` call into `CM.defaults`. Add `CM.setOption` method, analogous to the instance method, which updates `CM.defaults` and sets the option in all instances; add `CM.getOption` which simply returns `CM.defaults[option]`. (4) Move the new editor functions into `CM.commands` and replace the functions with commands. |
||
---|---|---|
.. | ||
ar | ||
cs | ||
de | ||
el | ||
en | ||
es | ||
fi | ||
fr | ||
it | ||
ja | ||
pt_BR | ||
ru | ||
sv_SE | ||
te | ||
tr | ||
zh | ||
zh_CN | ||
zh_TW |