Updated document menu to support toggleWrap and toggleIndent