> Is there a way to get cursor position in screen coordinates? The reason > I'm asking is that I have an idea that involves showing a gui widget at > cursor position. How can I do it?
I don't think there's an easy way, but with some jiggerypokery you could probably do it. You'd have to capture the output of :winpos and somehow figure out the size of a character cell, possibly by parsing the output of :set guifont? and then use winline() and wincol() or virtcol() or something. Could be quite tricky. But could probably be made to work, at least most of the time... Ben. Send instant messages to your online friends http://au.messenger.yahoo.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
