Hello Wincent and vim_mac readers, I had a look at this problem again last night and came up with a solution [1] that seems to work fine but it may need some adjustment. The CLEAR flag is no longer used so the Command-T plugin should work fine now (please confirm).
To avoid the display corruption issue I had to be a bit creative, so now whenever a cell is cleared the neighboring cells are cleared too if they are blank. This takes care of the problem when a glyph spills over into a neighboring (empty) display cell -- it used to be that when such a glyph was erased it left a little trace behind in the neighboring cell. The code path is pretty much the same as is used by other GUIs when fake bold fonts are used (which often also spill over into neighboring cells). I have not noticed slower rendering speeds because of this change but in theory more clearing is done so keep an eye out. I'm guessing that there may still be a problem with glyphs which stick out into display cells on top or below, but this will be font dependent and I have not been able to reproduce with the default font. Still, please report any reliable ways to reproduce display corruptions and I will take a look (and probably not be able to fix them easily, but I will still try). For prosperity let me also mention that I experimented with clipping each glyph to the size of one display cell to completely avoid the "spilling" problem but this made the rendering unbearably slow. Björn [1] https://github.com/b4winckler/macvim/commit/caabb3f058870aec3baad9553d402d5d43a618e4 -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
