You can access all these methods at `require("editor/Editor").Editor` without creating an Editor, and are used mainly in `EditorOptionHandlers.js` and `EditorStatusBar.js`.

But it does look strange to have them attached as methods of Editor an just exported functions of the module. We could also just simplify it and have 2 methods for all the preferences, and just exports the constants, or maybe just call the Preference manager directly.

I never added functions for the smart indentation and close tags preferences as those are not used outside this file.