Thank you for giving a try. The cursor issue you've just pointed out is rather expected results and I know the cause.
That said, I can't put my hands on the cursor issue till the redraw issue is resolved. The Vim core draws text and cursor(s) simultaneously. But that drawing model don't work cleanly with GUI; because of GUI's asynchronicity and double buffering mechanism, the place where the cursor appears is often different from that the Vim core puts. The cursor issue is a result of a brutally forced synchronization. Any other problems on redrawing? If you all don't see much problem on that, and say OK to me, I can go and fix the cursor issue. Best, Kazunobu 2016-02-17 17:08 GMT+09:00 Marius Gedminas <[email protected]>: > On Mon, Feb 15, 2016 at 05:05:39PM +0900, Kazunobu Kuriyama wrote: > > Thank you for the comment. > > > > To me, the cursor draw issue is another side of the redraw issue; one > issue > > is tried to be fixed, another manifests then :) > > > > To fix those two issues simultaneously and make the code portable, I > wrote > > another patch in such a way that no assumption was made on what had > already > > been drawn on the cairo surface. It may be inefficient but looks surer > of > > redraw. > > > > While the complexity of the draw event function increases, I wish it will > > work on Linux. > > > > Please try it at your convenient time. > > > > The patch was made against v7.4.1320, some merge conflicts resolved. > > Applied it on top of 7.4.1342. Everything works fine, except the cursor > disappears rather quickly after any motion and never reappears. > > Could be related to my .vimrc having > > set guicursor+=a:blinkon0 > > Indeed, if I :set guicursor&, the cursor blinks almost normally -- > except the very first blink is somehow different. It's hard to describe > in words. The cursor stays on for too long before disappearing for the > first time. > > Regards, > Marius Gedminas > -- > QOTD: > "A child of 5 could understand this! Fetch me a child of 5." > -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
