Is there a way to hide the vertical ruler in Ace Editor?
Found it, you need to use this: editor.setShowPrintMargin(false); https://ace.c9.io/api/editor.html#Editor.setShowPrintMargin
Found it, you need to use this: editor.setShowPrintMargin(false); https://ace.c9.io/api/editor.html#Editor.setShowPrintMargin
You can use the second parameter to control cursor position after setValue editor.setValue(str, -1) // moves cursor to the start editor.setValue(str, 1) // moves cursor to the end