Fixes Text Editor Width from left.

A fix for https://github.com/owncloud/apps/issues/525
I tried a couple of test cases and it was working. Please check. :)