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
..
action Fix cursor position change after CopyLine command (#2353) 2022-07-24 14:09:14 -07:00
buffer Fix 2021-11-22 18:46:36 -08:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config plugins: load directories that are symlinks (#2214) 2022-07-24 14:13:46 -07:00
display Fix relocate at the end of buffer when scrollmargin is 0 (#2578) 2022-10-01 13:03:40 -07:00
info Clear prompt before callback 2020-11-16 14:07:22 -05:00
lua Make more libraries available (#1917) 2020-11-21 01:46:17 -05:00
screen Use shell job for terminal callback 2022-08-19 15:46:01 -07:00
shell Use shell job for terminal callback 2022-08-19 15:46:01 -07:00
util Improve comments 2021-08-21 17:58:30 -04:00
views Fix unsplit crash 2020-02-08 21:06:13 -05:00