> I did take a run at rewriting this using the $options properties but it wasn't turning out any advantages.

too bad:( setOption was meant to be more convenient api.

>concat the options for the editor, session, renderer

all the relevant options are on [editor](https://github.com/ajaxorg/ace/blob/master/lib/ace/editor.js#L2195-L2247)

> that don't set a property on $options but do have set / get functions

these should be only theme mode and keyboardHandler but they should be added to options once they have cleaner api (#1343)