From 1098df588c20599cc3b2d66e87630615a321d17b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 19 Jun 2009 18:40:56 -0400 Subject: 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. --- core/.view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/.view.lua') diff --git a/core/.view.lua b/core/.view.lua index 2214463f..6cdb4336 100644 --- a/core/.view.lua +++ b/core/.view.lua @@ -32,7 +32,7 @@ function view:unsplit() end --- -- Goes to the specified buffer in the indexed view. --- Activates the 'buffer_switch' signal. +-- Activates the 'buffer_*_switch' signals. -- @param n A relative or absolute buffer index. -- @param absolute Flag indicating if n is an absolute index or not. function view:goto_buffer(n, absolute) end -- cgit v1.2.3