micro/internal
Dmytro Maluka 98ff79dbca
Some checks failed
Build and Test / test (1.19.x, macos-latest) (push) Has been cancelled
Build and Test / test (1.19.x, ubuntu-latest) (push) Has been cancelled
Build and Test / test (1.19.x, windows-latest) (push) Has been cancelled
Build and Test / test (1.23.x, macos-latest) (push) Has been cancelled
Build and Test / test (1.23.x, ubuntu-latest) (push) Has been cancelled
Build and Test / test (1.23.x, windows-latest) (push) Has been cancelled
Relocate buffer view after setting options that affect it (#3743)
Whenever the user changes the value of an option that affects the
calculation of display params in updateDisplayInfo(), we should
immediately recalculate those params and relocate the buffer view
accordingly.

For example: after enabling ruler via `set ruler on`, if the cursor is
currently at the rightmost edge of the bufpane and softwrap is disabled,
then the cursor becomes invisible (since it is now outside the view,
since the buffer view width is decreased as a result of adding the ruler
but StartCol is not updated accordingly), it only becomes visible again
after the user types a character (or performs some other action that
triggers updateDisplayInfo() + relocate). Fix it.
2025-05-11 16:20:23 +02:00
..
action command: Apply small cosmetics to openTerm() 2025-05-08 06:27:11 +02:00
buffer Convert leftover usages of path to filepath 2025-04-26 20:37:49 +02:00
clipboard Import paths: fix non-alphabetic order 2025-03-24 23:01:48 +01:00
config Convert leftover usages of path to filepath 2025-04-26 20:37:49 +02:00
display Relocate buffer view after setting options that affect it (#3743) 2025-05-11 16:20:23 +02:00
info history: Perform write process safe 2025-02-28 18:57:53 +01:00
lua lua: Remove duplicated export of filepath.Join() 2025-04-26 20:37:51 +02:00
screen Import paths: fix non-alphabetic order 2025-03-24 23:01:48 +01:00
shell Import paths: fix non-alphabetic order 2025-03-24 23:01:48 +01:00
util save+util: Provide a meaningful error message for safe (over-)write fails 2025-02-28 18:57:53 +01:00
views Simplifying unsplit logic 2025-04-26 18:11:19 +01:00