fix initial highlighting in hidden editor
cleanup
use fake horizontal scrollbar
update scrollbar when inserting new line in the middle of the document

fixes regression from 9f1d8af9373e8e474db8cdc7f456316287128e25
add option to autoresize editor vertically
add demo/autoresize.html
Merge pull request #1488 from ajaxorg/renderer

Renderer improvements