I've done some more considerable digging around in docs but I haven't gotten around to actually doing any code testing. Here's what I have found so far:
- Currently Eclim uses reflection to find fields on the current 'view' that is to house the vim instance. These fields evidently come directly from the local platform API. If this is correct, then finding the OS X equivalent will at least get us this number. According to this page [1] , possible candidates would be windowHandle, windowNum, or windowRef. - The other piece of the puzzle, then would be take this number in MacVim, and bind to the window it returns, possibly using a method signature similar to the one here [2]. This would all have to assume that two things, neither of which I know: 1. That the id retrievable from Eclim, is a window ID. 2. NSApplication windowWithWindowId: can retrieve a window from anywhere, even outside of the same app. 3. That you could reparent MacVim to this retreived window instead of the default NSApplication. Unfortunately I don't see this being possible, since most likely the only Id we could get in Eclim would be maybe a NSView(although documentation does not list such an id). Also, Id have to agree with Ben in saying that this probably would not be the "Mac" way. I started out hoping we could just do a reparenting operation, but I haven't programmed in Cocoa enough to see this limitation. [1] http://www.gnu.org/software/gnustep/resources/documentation/Developer/Gui/Reference/NSWindow.html#method$NSWindow-windowHandle [2] http://developer.apple.com/Mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/20000012-DontLinkElementID_103 -- You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php
