Changes the DisplayMarkerLayer of a bookmark to use exclusive insertion strategy. This means that insertions at the start or end of the marked range should be interpreted as happening outside the DisplayMarkerLayer and not extend the range.
The current behavior of extending the range when typing outside has many points of failure as discussed in https://github.com/atom/bookmarks/issues/62.
Description of the Change
Changes the
DisplayMarkerLayer
of a bookmark to use exclusive insertion strategy. This means that insertions at the start or end of the marked range should be interpreted as happening outside theDisplayMarkerLayer
and not extend the range. The current behavior of extending the range when typing outside has many points of failure as discussed in https://github.com/atom/bookmarks/issues/62.Gif of behavior after the change:
Alternate Designs
N/A
Benefits
Possible Drawbacks
Someone depends on the current behavior.
Applicable Issues
Fixes https://github.com/atom/bookmarks/issues/62
/cc: @as-cii