Mercurial > vim
annotate pixmaps/tb_cut.xpm @ 29918:e6e0f1c39edb v9.0.0297
patch 9.0.0297: cursor position wrong after right aligned virtual text
Commit: https://github.com/vim/vim/commit/c8bf59e9b27f9d621818ffc61468abef45cedf37
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 16:39:22 2022 +0100
patch 9.0.0297: cursor position wrong after right aligned virtual text
Problem: Cursor position wrong after right aligned virtual text. (Iizuka
Masashi)
Solution: Take the width of the column offset into account. (closes #10997)
Also fix virtual text positioning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Aug 2022 17:45:03 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_cut_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 3 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s bottomShadowColor m black c #5D6069", | |
9 /* pixels */ | |
10 " ", | |
11 " . .X ", | |
12 " .X .X ", | |
13 " . .X ", | |
14 " .X .X ", | |
15 " . .X ", | |
16 " .X.X ", | |
17 " .X ", | |
18 " ...X ", | |
19 " X.X .X ", | |
20 " ...X ... ", | |
21 " .XX.X .X . ", | |
22 " . .X .X .X ", | |
23 " . .X .X .X ", | |
24 " ..XX ..X ", | |
25 " XX XX ", | |
26 " ", | |
27 " "}; |