fix #549 enter on start of indented line should keep indentation
Merge pull request #1512 from ajaxorg/indent

fix #549 enter on start of indented line should keep indentation