I have a block widget that replaces lines. It replaces from the start of one line to the end of another. I want the caret (cursor) to skip past the selection when it is cursored into but passing the DecorationSet to EditorView.atomicRanges only prevents cursoring into the widget itself, not on to the start and end of the widget which are in hidden lines. Is there a way I can extend the atomicRanges Rangeset to be the DecorationSet but +1 in each direction?
Alternatively, am I going about this wrong? Should I be using a transaction filter for this last bit or even for the whole cursor issue?