Fix ACE document editor cutting off long lines of code

Closes COUCHDB-2454