What do I do to configure Ace to have its height so that all lines will be always visible, rather than having a vertical scrollbar?
Basically, the equivalent of:
document.querySelector("textarea").oninput = function(){
this.rows = this.value.split(/\n/g).length;
};
http://jsfiddle.net/obobjrf5/
How do I do that? Thank you in advance.
Use maxLines option editor.setOption("maxLines", 1000).
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