Preserve both cursor and anchor nodes when removing an annotation
Merge pull request #312 from peitschie/remove-annotation-crash

Preserve both cursor and anchor nodes when removing an annotation