For a long time I had the idea that this should be achieved at the keymap level. It's a bit tedious to do throughout emacs/vim/... keymaps though, so I guess I'll apply the patch until somebody finds a way to simplify things.
Thanks! -- JP On Thu, Apr 16, 2009 at 1:41 AM, <steffen.sier...@gmail.com> wrote: > Thu Apr 16 01:25:00 CEST 2009 steffen.sier...@gmail.com > * added bufferUpdateHandler to Config allowing to install event handlers for > buffer updates. > This patch might make it possible to write plugins with automatic live > update of content depending on > other/same content in same buffer > e.g.: > - Formating ASCII table used by Pandoc for example > - support for Textmate like Textsnippets with > content dependend regions > - automatic variable/function renaming in Functions (for e.g. C) while > modifiying variable names > where these variables/functions are used > - maybe others... > > at the moment updateHandlers have type: [Update] -> BufferM () > for current implementation it is possible (and maybe even better?) > to change this to: [Update] -> EditorM () > > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---