It's probably something stupid I'm overlooking, but I'm missing how to make the editor resize automatically when new text is entered or deleted, avoiding scrollbars. For now, I did a workaround by adding a listener (for ValueChangeEvent) and setting the height by hand, but it's ugly as hell -- it gets a very noticeable hiccup every time I add a new line.
I've tried the usual setHeightUndefined, setHeight(null), toyed a bit with the javascript. I just can't figure out what's needed. It even looks that this may be the usual behavior on javascript-only, since the AceEditor demos seem to do autoresize without any additional settings.
Hello
It's probably something stupid I'm overlooking, but I'm missing how to make the editor resize automatically when new text is entered or deleted, avoiding scrollbars. For now, I did a workaround by adding a listener (for ValueChangeEvent) and setting the height by hand, but it's ugly as hell -- it gets a very noticeable hiccup every time I add a new line.
I've tried the usual setHeightUndefined, setHeight(null), toyed a bit with the javascript. I just can't figure out what's needed. It even looks that this may be the usual behavior on javascript-only, since the AceEditor demos seem to do autoresize without any additional settings.
Any hint?? Marcond