Oops, failed to send this to the list. Sorry. ---------- Forwarded message ---------- From: Kazunobu Kuriyama <[email protected]> Date: 2016-03-10 10:57 GMT+09:00 Subject: Re: [gtk3vim] cannot select with mouse if cmdline is active To: SungHyun Nam <[email protected]>
Hi, 2016-03-10 8:41 GMT+09:00 SungHyun Nam <[email protected]>: > Hello, > > With gtk3vim, I cannot use mouse to select a string if command > line is active. gtk2vim has no problem. > Ugh. Until I read this email, I wrongly assumed that gui_mch_invert_rectangle() was a legacy for gray scale monitors and thus left it unimplemented (lol). The gtk3 selection mechanism is working correctly just like gtk2, but the selection area cannot be inverted in color due to my laziness. Now I added a few lines of code to gui_gtk_x11.c and believe that fixes the following issue: > $ gtk3vim -u NONE -U NONE --noplugin main.c > :echo 'test' > > Don't type ENTER key after typing 'test'. But try to select some > string with a mouse. I cannot select any string in window, > command line. > > Now, type ENTER key and try to select echo-ed string 'test'. > I cannot select 'test'. > > I use up-to-dated ubuntu-14.04. > IIRC, you used a relatively old gtk3, didn't you? So I'm wondering which version you're now using with vim. More precisely, I want to know the version of cairo. If its version is older than 1.9.2, I have to add more code to what I've just added. > > Thanks, > namsh > > Best regards, Kazunobu -- -- 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.
