Fixed horrible code-style of autogrow resizeEditor().
Do not resize editor when height hasn't been changed.
Merge branch 't/10196b'