I am using Ace Editor. As is shown in the page that I linked, the editor appears with an empty portion on the right side (which I believe is the split view) with a vertical line between it and the (main) editing space. How can I turn this off?
It is not a split view but a print margin - simple line at the specified column, to help seeing when lines become too long.
To disable it use
editor.setOption("showPrintMargin", false)
This worked for me. Add the following piece of code and the line just vanishes off.
editor.setShowPrintMargin(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With