sminez / ad

an adaptable text editor
https://crates.io/crates/ad-editor
MIT License
265 stars 9 forks source link

Reading a range dot is missing the final character #13

Closed sminez closed 2 months ago

sminez commented 2 months ago

Describe the bug

It looks like all operations that work with reading a range dot are missing the final character as shown by the visual selection. Getting this all working consistently has proved tricky in the past so there are likely some tests in place that are capturing this incorrect behaviour and sorting this out may have knock on effects for the exec engine.

It looks like deleting dot works correctly though?

To Reproduce

Expected behavior

Reading dot includes all of the selected range.