aboutsummaryrefslogtreecommitdiff
path: root/core/.view.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/.view.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/.view.lua')
-rw-r--r--core/.view.lua2
1 files changed, 1 insertions, 1 deletions
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