Mercurial > vim
annotate pixmaps/tb_undo.xpm @ 29653:aa83cf7bef1c v9.0.0167
patch 9.0.0167: checking for text properties could be a bit more efficient
Commit: https://github.com/vim/vim/commit/38ea2733b4dd8e9bfc4a5bb5c11cb661bf000c4e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 7 22:04:56 2022 +0100
patch 9.0.0167: checking for text properties could be a bit more efficient
Problem: Checking for text properties could be a bit more efficient.
Solution: Return early when there are no text properties. Update TODO
items.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Aug 2022 23:15:03 +0200 |
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 " "}; |