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/.textadept.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/.textadept.lua') diff --git a/core/.textadept.lua b/core/.textadept.lua index cd0a4553..0f2b02d9 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -46,7 +46,7 @@ function new_buffer() end --- -- Goes to the specified view. --- Activates the 'view_switch' signal. +-- Activates the 'view_*_switch' signal. -- @param n A relative or absolute view index. -- @param absolute Flag indicating if n is an absolute index or not. function goto_view(n, absolute) end -- cgit v1.2.3