do not call unshift in getTextRange
code style
insert/removeLines at the document edges create deltas with wrong range
Merge pull request #1416 from ajaxorg/insertlines

fix insert/removeLines at the document edges