1) fixed an exception when all formatted string deleted 2)  also fixed a caret position issue after #1 3) proper amdefine
update boe
fix existing tests
update doc
fix pasting in the middle, pasting a complete shit, and deleting whole piece
Release 0.0.4