On 15 February 2010 03:06, Nicholas Clark wrote: > Iam attempting to try and contribute a fix that would allow MacVim and > Eclim(http://eclim.org) to work together. I have a thread started in > the Eclim Google group(http://groups.google.com/group/eclim-dev/ > browse_thread/thread/4324a6de13f9b60d). It summarizes well what is the > current hang up. In Windows and Linux, Eclim has a hack working that > allows embedding of gvim in Eclipse. > > Currently Iam trying to figure out two important details: > > 1. We need to see if we can grab a handle for the container that will > house the embedded MacVim. Currently, (and I don't know how they > figured it out for the other platforms), I don't even know what the > handles name might be, since Eclims method uses reflection to get it. > My current step is to see If I can through reflection, discover the > Mac handle name. Once that is obtained then I can obtain the id. (if > it even exists) > > 2. Next I would need to be able to pass the id in through the command > line to MacVim so that it can embed. > > At this point I may just be on a wild goose chase, since Im not sure > if it is possible on mac to embed like I am trying to do. But as long > as the eclipse version being used is the Cocoa release, there should > be no incompatibilities between it and MacVim. > > I would appreciate any input as I see this functionality as being > extremely useful.
Hi Nicholas, As far as I can tell there is some kind of feature in gtk that allows you to embed a "view" from one app in another (how does this work? do both apps have to be running simultaneously?). To my knowledge there is no similar technology in Cocoa so my guess is that there simply is no way to implement this. Anyway, I really do not understand how Eclim works so don't take what I say too seriously but to me this sounds difficult. Sorry that I can't be of any more help. Björn -- You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php
