On Sunday, June 2, 2013 7:57:22 PM UTC+2, Bram Moolenaar wrote: > Almost three years ago Mark Mahnic sent a patch to access the screen > from inside Python. It was sent on 2010 July 19. > > Does this fit in with the Python RFC? I haven't heard requests from > users for this functionality. Also, it appears that after using this it > requires Vim to redraw the screen, since it is unaware of what has been > drawn.
Hi, This patch would allow one to implement popup windows and other UI elements in Python. But I don't think this is the correct way to implement such features. The proper way would be to modify Vim window management and event processing. >From the time the patch was created I've only received one inquiry about the patch being included in vim, so I don't think it is used much. Even I have stopped using it and created a pure C implementation that provides a Vim function popuplist(). So if there are no objections, I think you can remove this patch from the todo list. But if there is interest I can a provide a Python 2 implementation of a generic popup list and some specialized popup lists based on it: text menu, directory browser, help display. It would have to go into 7.5 though because it needs some refactoring and bugfixing. Thanks, Marko -- -- 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/groups/opt_out.
