Mercurial > vim
annotate pixmaps/tb_undo.xpm @ 34418:df8faa0124f7 v9.1.0132
patch 9.1.0132: "C" doesn't include composing chars with 'virtualedit'
Commit: https://github.com/vim/vim/commit/048761bcd40ec630fd3e039f0066cf4e484ceabd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Feb 24 14:21:39 2024 +0100
patch 9.1.0132: "C" doesn't include composing chars with 'virtualedit'
Problem: using "C" and 've=all' set, doesn't include composing chars
when changing a line, keeps the composing chars for whatever
is typed afterwards.
Solution: Use mb_head_off() and mb_ptr2len() instead of mb_tail_off().
(zeertzjq)
closes: #14083
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 24 Feb 2024 14:30:04 +0100 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_undo_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 4 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s iconColor2 m none c #FFFFFF", | |
9 "o s bottomShadowColor m black c #5D6069", | |
10 /* pixels */ | |
11 " ", | |
12 " ", | |
13 " .. ..... ", | |
14 " .X..XXXXX.. ", | |
15 " .XXXXXXXXXX. ", | |
16 " .XXXX....XX.o ", | |
17 " .XXXX.ooo.XX. ", | |
18 " .XXXXX. .XX.o ", | |
19 " .......o .XX.o ", | |
20 " o.ooooo .XX.o ", | |
21 " .X. .XX.o ", | |
22 " .XX.....XX.oo ", | |
23 " .XXXXXXXX.o ", | |
24 " .XXXXX..oo ", | |
25 " .....ooo ", | |
26 " ooooo ", | |
27 " ", | |
28 " "}; |