aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ext/pm/ctags_browser.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-06-19 18:40:56 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-06-19 18:40:56 -0400
commit1098df588c20599cc3b2d66e87630615a321d17b (patch)
treeaa014792e8eb7a7955f1768ce1d5f1ade4f0b5ca /core/ext/pm/ctags_browser.lua
parentfb758ea341c45b4358f53fe1c945d235de08703c (diff)
Use before_switch and after_switch events for buffers and views.
Moved C code for saving/restoring state when switching buffers to Lua. Also added saving of folding state.
Diffstat (limited to 'core/ext/pm/ctags_browser.lua')
-rw-r--r--core/ext/pm/ctags_browser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/pm/ctags_browser.lua b/core/ext/pm/ctags_browser.lua
index 23556f68..b7c3e76e 100644
--- a/core/ext/pm/ctags_browser.lua
+++ b/core/ext/pm/ctags_browser.lua
@@ -249,5 +249,5 @@ local function update_view()
end
textadept.events.add_handler('file_opened', update_view)
textadept.events.add_handler('buffer_deleted', update_view)
-textadept.events.add_handler('buffer_switch', update_view)
+textadept.events.add_handler('buffer_after_switch', update_view)
textadept.events.add_handler('save_point_reached', update_view)