micro/internal
Dmytro Maluka 5510317942
Relocate buffer view when reloading file (#3250)
After reloading a file that has been externally modified, the buffer
view may become invalid: the displayed subset of lines of the file may
no longer exist, since the file may have been truncated. So relocate the
buffer view in this case.

In particular, this fixes crashes caused by out of bounds accesses to
the line array by displayBuffer() trying to display no longer existing
lines.
2024-04-21 22:49:01 +02:00
..
action Relocate buffer view when reloading file (#3250) 2024-04-21 22:49:01 +02:00
buffer UpdateRules: optimize out HasIncludes() usage 2024-04-21 15:14:21 +02:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config Temporarily don't initialize runtime files in buffer test 2024-04-03 04:37:44 +02:00
display Highlighting trailing whitespaces 2024-03-14 03:10:31 +01:00
info chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00
lua Revert "Don't expose Go timers directly to lua" (#3211) 2024-03-25 17:11:12 +01:00
screen Reset mouse release state after restarting the screen 2023-01-29 18:26:55 +01:00
shell Fix term output capturing 2023-09-08 23:27:39 -07:00
util Highlighting trailing whitespaces 2024-03-14 03:10:31 +01:00
views chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00