added options for highlightActiveLine/readOnly/showCursor