Files
zyedidia.micro/internal
Dmitry Maluka 8ff7ec50ef Fix relocate at the end of buffer when scrollmargin is 0 (#2578)
* Add LessEqual and GreaterEqual for SLoc

* Fix relocate at the end of buffer when scrollmargin is 0

Fix the following issue: when scrollmargin is set to 0 and we move the
cursor to the end of buffer (e.g. via Ctrl-End), the buffer view doesn't
move.

The cause is that the condition c.LessThan(w.Scroll(bEnd, -scrollmargin+1))
doesn't hold, since Scroll() takes care not to return a location beyond
the end of buffer, so in this case Scroll() just returns bEnd.
2022-10-01 13:03:40 -07:00
..
Fix
2021-11-22 18:46:36 -08:00
2020-11-16 14:07:22 -05:00
2020-11-21 01:46:17 -05:00
2022-08-19 15:46:01 -07:00
2021-08-21 17:58:30 -04:00
2020-02-08 21:06:13 -05:00