Mercurial > vim
annotate pixmaps/tb_macro.xpm @ 28984:b3828315a0d9 v8.2.5014
patch 8.2.5014: byte offsets are wrong when using text properties
Commit: https://github.com/vim/vim/commit/4c3d21acaa09d929e6afe10288babe1d0af3de35
Author: Paul Ollis <paul@cleversheep.org>
Date: Tue May 24 21:26:37 2022 +0100
patch 8.2.5014: byte offsets are wrong when using text properties
Problem: Byte offsets are wrong when using text properties.
Solution: Make sure text properties do not affect the byte counts.
(Paul Ollis, closes #10474)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 24 May 2022 22:30:02 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_macro_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 bottomShadowColor m black c #5D6069", | |
9 "o s iconColor2 m none c #FFFFFF", | |
10 /* pixels */ | |
11 " ..X ", | |
12 " .oo.X ", | |
13 " .oooo.X ", | |
14 " .oooo.X ", | |
15 " .oo.XX ", | |
16 " ..XX ", | |
17 " .....o.X ", | |
18 " .ooooooo.X ", | |
19 " .oooooooo.X ", | |
20 " .....ooo.X ", | |
21 " ..ooo.X ", | |
22 " .ooooo.X ", | |
23 " .ooooooo.X ", | |
24 " .ooo...ooo.X ", | |
25 " .ooo.XX..ooo.X ", | |
26 " .oo.XX X.oo.X ", | |
27 " ...X X...X ", | |
28 " XX XXX "}; |