Wed Apr 15 19:25:00 EDT 2009 [email protected]
* added bufferUpdateHandler to Config allowing to install event handlers for
buffer updates.
Ignore-this: 90e80a9ca7af4311c970ced7001cb652
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 ()
M ./Yi/Config.hs -1 +2
M ./Yi/Config/Default.hs +1
M ./Yi/Editor.hs -12 +15
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---