Feature request: `domAtPos` side parameter

I’m working with the experimental vim mode port from cm5 by nightwing and I’m trying to find a way to get the DOM element on the right side of a position.

Given there isn’t a side parameter, it makes it hard to predictably get the correct DOM element to measure for styling.

Actually, this is still achievable without a side property, by manually looking around the DOM position resulting from the return value.

Since none of the core functionality needs this, and I can’t even think of a robust way to define it when there are zero-length widgets at the position, I prefer to not add this for the time being.

Yeah agreed, it’s kind of difficult to frame this and I’ve ran into multiple edge cases with widgets and replacements already. Thanks for your time.