#47 Recenter acts goofy sometimes

Geschlossen
vor 1 Jahr geöffnet von nuclearkev · 1 Kommentare
Hier gibt es bis jetzt noch keinen Inhalt.
Kevin "The Nuclear" Bloom kommentierte vor 1 Jahr
Besitzer

This turns out to be caused by multi-line long lines (long lines without a \n). The issue also exists in both directions because both directions use the newline char to figure out what a line is but when it comes to recentering we need to do it based on the termbox row, within the context of the window (based on w_top). To fix this, I need to use the upup and dndn functions to just "move" the point by one row up or down until the new page is in the correct shift.

This turns out to be caused by multi-line long lines (long lines without a \n). The issue also exists in both directions because both directions use the newline char to figure out what a line is but when it comes to recentering we need to do it based on the termbox row, within the context of the window (based on w_top). To fix this, I need to use the `upup` and `dndn` functions to just "move" the point by one row up or down until the new page is in the correct shift.
Kevin "The Nuclear" Bloom hat dieses Issue vor 1 Jahr aus einem Commit referenziert
nuclearkev hat vor 1 Jahr geschlossen
Kevin "The Nuclear" Bloom hat dieses Issue vor 1 Jahr aus einem Commit referenziert
Anmelden, um an der Diskussion teilzunehmen.
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.