Hi,

On 25.06.2009, at 14:45, Kazuki Sakamoto wrote:

> Hi Björn,
>
> On Fri, Jun 26, 2009 at 12:25 AM, björn<[email protected]>  
> wrote:
>
>> That's great!  I think a lot of people will appreciate this.
>
> Thanks! I am happy to hear that.

I'm very excited about this patch, too. Once it's in, it would be  
great if there was a MacVim wiki page that has a few screenshots that  
show what's possible with this patch, and links to the documentation  
on how to set this up.

> By the way, we might need to implement `+balloon_eval' as well.
> src/gui_beval.c

I started looking at this a while ago, but then got sidetracked  
working on the other "one background process per gui window/tab" mac  
app :-/

My main "discovery" back then was that Cocoa's toolkit support  
(there's a function to set a tooltip on a view) isn't quite good  
enough for +baloon_eval: It doesn't support more than one tooltip at  
once, and it's not easy to specify where it should appear.

However, it looks like the tooltip code from Camino could be used for  
this. That's also what Chromium uses:

     
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/mozilla/include/ToolTip.h
     
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/mozilla/include/ToolTip.mm

If you want to take a shot at this, I can send you a few more notes  
(i.e. where the code changes need to be made), but judging from your  
netbean patch, it looks like you can figure that out yourself :-)

Nico
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to