justmoon / relative-numbers

Relative line numbers package for Atom
https://atom.io/packages/relative-numbers
MIT License
37 stars 16 forks source link

Regression: Not handling soft wrapped lines correctly #15

Closed justmoon closed 7 years ago

justmoon commented 8 years ago

Expected behavior: Soft wrapped lines are counted as a single line.

Actual behavior: Soft wrapped lines are counted as multiple lines depending on number of screen rows.

This is a regression we introduced in #1. It may be better to use buffer rows and manually handle folds.

justmoon commented 7 years ago

We still don't have the "best of both worlds", i.e. a setting that works both for folding and for wrapping. But the regression is technically fixed (since you can get the old behavior via a setting), so closing this.