Mercurial > vim
view runtime/tutor/Makefile @ 33844:58c9f11eae5b v9.0.2134
patch 9.0.2134: ml_get error when scrolling
Commit: https://github.com/vim/vim/commit/c4ffeddfe5bd1824650e9b911ed9245bf56c69e3
Author: Christian Brabandt <cb@256bit.org>
Date: Mon Nov 27 23:25:03 2023 +0100
patch 9.0.2134: ml_get error when scrolling
Problem: ml_get error when scrolling after delete
Solution: mark topline to be validated in main_loop
if it is larger than current buffers line
count
reset_lnums() is called after e.g. TextChanged autocommands and it may
accidentally cause curwin->w_topline to become invalid, e.g. if the
autocommand has deleted some lines.
So verify that curwin->w_topline points to a valid line and if not, mark
the window to have w_topline recalculated in main_loop() in
update_topline() after reset_lnums() returns.
fixes: #13568
fixes: #13578
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 27 Nov 2023 23:30:04 +0100 |
parents | ee8c76c18625 |
children | 72aee06c1d78 |
line wrap: on
line source
# Makefile for the Vim tutor. # # The Japanese tutor exists in three encodings. Use the UTF-8 version as the # original and create the others with conversion. # # Similarly for Russian and Korean # Common components include Make_all.mak all: $(CONVERTED) tutor.utf-8: tutor iconv -f ISO-8859-1 -t UTF-8 tutor > tutor.utf-8 tutor.bar: tutor.bar.utf-8 iconv -f UTF-8 -t ISO-8859-1 tutor.bar.utf-8 > tutor.bar tutor.ca.utf-8: tutor.ca iconv -f ISO-8859-1 -t UTF-8 tutor.ca > tutor.ca.utf-8 tutor.eo: tutor.eo.utf-8 iconv -f UTF-8 -t ISO-8859-3 tutor.eo.utf-8 > tutor.eo tutor.de.utf-8: tutor.de iconv -f ISO-8859-1 -t UTF-8 tutor.de > tutor.de.utf-8 tutor.el: tutor.el.utf-8 iconv -f UTF-8 -t ISO-8859-7 tutor.el.utf-8 > tutor.el tutor.el.cp737: tutor.el.utf-8 iconv -f UTF-8 -t CP737 tutor.el.utf-8 > tutor.el.cp737 tutor.es: tutor.es.utf-8 iconv -f UTF-8 -t ISO-8859-1 tutor.es.utf-8 > tutor.es tutor.fr.utf-8: tutor.fr iconv -f ISO-8859-1 -t UTF-8 tutor.fr > tutor.fr.utf-8 tutor.hu: tutor.hu.utf-8 iconv -f UTF-8 -t ISO-8859-2 tutor.hu.utf-8 > tutor.hu tutor.hu.cp1250: tutor.hu.utf-8 iconv -f UTF-8 -t CP1250 tutor.hu.utf-8 > tutor.hu.cp1250 tutor.it.utf-8: tutor.it iconv -f ISO-8859-1 -t UTF-8 tutor.it > tutor.it.utf-8 tutor.hr: tutor.hr.utf-8 iconv -f UTF-8 -t ISO-8859-2 tutor.hr.utf-8 > tutor.hr tutor.hr.cp1250: tutor.hr.utf-8 iconv -f UTF-8 -t CP1250 tutor.hr.utf-8 > tutor.hr.cp1250 tutor.ja.sjis: tutor.ja.utf-8 iconv -f UTF-8 -t CP932 tutor.ja.utf-8 > tutor.ja.sjis tutor.ja.euc: tutor.ja.utf-8 iconv -f UTF-8 -t EUC-JP tutor.ja.utf-8 > tutor.ja.euc tutor.ko.euc: tutor.ko.utf-8 iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc tutor.nl: tutor.nl.utf-8 iconv -f UTF-8 -t ISO-8859-1 tutor.nl.utf-8 > tutor.nl tutor.no.utf-8: tutor.no iconv -f ISO-8859-1 -t UTF-8 tutor.no > tutor.no.utf-8 # nb is an alias for no tutor.nb: tutor.no cp tutor.no tutor.nb tutor.nb.utf-8: tutor.no.utf-8 cp tutor.no.utf-8 tutor.nb.utf-8 tutor.ru: tutor.ru.utf-8 iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru tutor.ru.cp1251: tutor.ru.utf-8 iconv -f UTF-8 -t CP1251 tutor.ru.utf-8 > tutor.ru.cp1251 tutor.tr.iso9: tutor.tr.utf-8 iconv -f UTF-8 -t ISO-8859-9 tutor.tr.utf-8 > tutor.tr.iso9 tutor.sv.utf-8: tutor.sv iconv -f ISO-8859-1 -t UTF-8 tutor.sv > tutor.sv.utf-8 tutor.zh.utf-8: tutor.zh.big5 iconv -f BIG-5 -t UTF-8 tutor.zh.big5 > tutor.zh.utf-8