Hi to all, I am trying to make use of convenient balloon evaluation feature in order to be able to display certain information about the source code (e.g. function prototypes, function documentation, corresponding variable data type, etc.).
This is per se already possible with 'balloonexpr' but it is possible to do so only in a synchronous way (e.g. all computation needs to be done at once in 'balloonexpr'). What I am trying to do is to have it working in an asynchronous way. E.g. 1. Fire a request for some certain information (there is a server serving these requests in the background). 2. Don't necessarily wait for a request to be served. I.e. continue your work in vim. 3. Once the request is served and our vim thread receives a callback with corresponding information, display it in a balloon. In order to be able to implement this approach, I would need a possibility: 1. To hook on a mouse hover event. 2. To feed the balloon content with dedicated function. I believe the infrastructure/code for this already exists but it is not exposed through Vim API. Do you think this would be feasible enough to implement and would you even consider such a change? Thanks for your time, J. Bakamovic P.S. I am working on a generic client-server approach here which I use to implement a lot of non-trivial IDE-like services (e.g. think indexer, semantic highlighting, code-completion, type deduction, etc.). By nature all these services run asynchronously. -- -- 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.
