annotate src/typemap @ 33819:f0ba42bd9783 v9.0.2125

patch 9.0.2125: File info disappears when 'cmdheight' has decreased Commit: https://github.com/vim/vim/commit/40ed6711bd385051021691980e8ce16375b4b510 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Nov 23 20:37:01 2023 +0100 patch 9.0.2125: File info disappears when 'cmdheight' has decreased Problem: File info disappears immediately when 'cmdheight' has just decreased due to switching tabpage and 'shortmess' doesn't contain 'o' or 'O'. Solution: Make sure msg_row isn't smaller than cmdline_row. fixes: #13560 closes: #13561 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 23 Nov 2023 20:45:05 +0100
parents dec4338a7da2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 TYPEMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 VIWIN T_VIOBJNOMUNGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 VIBUF T_VIOBJNOMUNGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 INPUT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 T_VIOBJNOMUNGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if (sv_isa($arg, \"${ntype}\")) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 IV tmp = SvIV((SV*)SvRV($arg));
3344
dec4338a7da2 updated for version 7.3.439
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
9 $var = INT2PTR($type, tmp);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if (!tmp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 croak(\"$ntype no longer exists\");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 croak(\"$var is not of type ${ntype}\")