Re: Using py commands to evaluate text for balloon commands for web lookups.

2006-05-26 Thread Mohsin
I got my balloon function to do WEB lookups of word under mouse, on wiki/google/dictionary via python. However for couple of issues I am stuck with (any help appreciated): 1. The gvim freezes (cursor stop blinking for 3 seconds) while python is doing web lookups. Can I run this lookup as a

Re: Using py commands to evaluate text for balloon commands..

2006-05-24 Thread Yakov Lerner
On 5/24/06, Mohsin [EMAIL PROTECTED] wrote: I am trying to use the ':py' interface to evaluate text under cursor and show the result in a balloon text. I got the python and vim code to work easily, however I have problem communicating between the two (py and vim): 1. How do I access vim

Re: Using py commands to evaluate text for balloon commands..

2006-05-24 Thread Ilya
Yakov Lerner wrote: [...] Note that :py commands are not available in the sandbox. I dont know whether Balloon function is executed in the sandbox. Maybe it is not (then :py is available in the Balloon func), maybe it is (then :py is not available in the Balloon func). If you find out, I'm

Using py commands to evaluate text for balloon commands..

2006-05-23 Thread Mohsin
I am trying to use the ':py' interface to evaluate text under cursor and show the result in a balloon text. I got the python and vim code to work easily, however I have problem communicating between the two (py and vim): 1. How do I access vim variables in py commands (like text under