aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-06-19 18:40:56 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-06-19 18:40:56 -0400
commit1098df588c20599cc3b2d66e87630615a321d17b (patch)
treeaa014792e8eb7a7955f1768ce1d5f1ade4f0b5ca /core/.textadept.lua
parentfb758ea341c45b4358f53fe1c945d235de08703c (diff)
downloadtextadept-1098df588c20599cc3b2d66e87630615a321d17b.tar.gz
textadept-1098df588c20599cc3b2d66e87630615a321d17b.zip
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/.textadept.lua')
-rw-r--r--core/.textadept.lua2
1 files changed, 1 insertions, 1 deletions
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