This change maintains cursor position if a bracket happens to move the current character.
It also maintains cursor position from undos after capture or emit except for something I was unable to solve: capture-head on a top level form and undoing will move the cursor to the head of the list.
PR for half of #10.
This change maintains cursor position if a bracket happens to move the current character.
It also maintains cursor position from undos after capture or emit except for something I was unable to solve: capture-head on a top level form and undoing will move the cursor to the head of the list.
Cheers