Mercurial > vim
view pixmaps/tb_cut.xpm @ 32507:2614026cd259 v9.0.1585
patch 9.0.1585: weird use of static variables for spell checking
Commit: https://github.com/vim/vim/commit/30805a1aba0067cf0087f9a0e5c184562433e2e7
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Sat May 27 22:22:10 2023 +0100
patch 9.0.1585: weird use of static variables for spell checking
Problem: Weird use of static variables for spell checking.
Solution: Move the variables to a structure and pass them from win_update()
to win_line(). (Luuk van Baal, closes #12448)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 May 2023 23:30:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_cut_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 3 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s bottomShadowColor m black c #5D6069", /* pixels */ " ", " . .X ", " .X .X ", " . .X ", " .X .X ", " . .X ", " .X.X ", " .X ", " ...X ", " X.X .X ", " ...X ... ", " .XX.X .X . ", " . .X .X .X ", " . .X .X .X ", " ..XX ..X ", " XX XX ", " ", " "};