aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-03-10 12:54:18 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-03-10 12:54:18 -0500
commit87e5433dd9e4e054147c7b234b9d80a6c9e0db7d (patch)
tree82100784be5d0e6b3fda2143f936049b7eb2ede3 /core/.textadept.lua
parent2d4c5b2cd9e7720d479b9d4ba1db805dad8b97bf (diff)
downloadtextadept-87e5433dd9e4e054147c7b234b9d80a6c9e0db7d.tar.gz
textadept-87e5433dd9e4e054147c7b234b9d80a6c9e0db7d.zip
Added textadept.buffer_switch() to replace side pane's buffer browser.
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r--core/.textadept.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua
index bb541a2b..0ce0d19a 100644
--- a/core/.textadept.lua
+++ b/core/.textadept.lua
@@ -118,6 +118,11 @@ function _print(buffer_type, ...) end
function print(...) end
---
+-- Displays a dialog with a list of buffers to switch to and switches to the
+-- selected one, if any.
+function switch_buffer() end
+
+---
-- Displays a CocoaDialog of a specified type with the given string arguments.
-- Each argument is like a string in Lua's 'arg' table.
-- @return string CocoaDialog result.