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;
};
How do I do that? Thank you in advance.
Use maxLines
option editor.setOption("maxLines", 1000)
.