aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.view.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-06-30 13:06:25 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-06-30 13:06:25 -0400
commit03b0b8932ea1c41854a487f9fa6555def9b59462 (patch)
tree491743468203ee0b49729d323a1f224aaf4ef669 /core/.view.luadoc
parentb8a5a15f6171cbedc9007e5b05757aa4b72ff742 (diff)
Condensed manual and API documentation into single files.
Diffstat (limited to 'core/.view.luadoc')
-rw-r--r--core/.view.luadoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/.view.luadoc b/core/.view.luadoc
index ecdc4061..c38a8485 100644
--- a/core/.view.luadoc
+++ b/core/.view.luadoc
@@ -8,7 +8,7 @@
module('view')
---
--- The [buffer](buffer.html) the view contains. (Read-only)
+-- The [buffer](#buffer) the view contains. (Read-only)
-- @class table
-- @name buffer
local buffer
@@ -35,14 +35,14 @@ function unsplit(view) end
---
-- Switches to buffer number *n* in the view.
-- *relative* indicates whether or not *n* is an index relative to the current
--- buffer's index in `_G._BUFFERS` instead of an absolute index.
+-- buffer's index in `_BUFFERS` instead of an absolute index.
-- Emits `BUFFER_BEFORE_SWITCH` and `BUFFER_AFTER_SWITCH` events.
-- @param view The view to switch buffers in.
--- @param n A relative or absolute buffer index in `_G._BUFFERS`. An absolute
--- index of `-1` goes to the last buffer.
+-- @param n A relative or absolute buffer index in `_BUFFERS`. An absolute index
+-- of `-1` goes to the last buffer.
-- @param relative Optional flag indicating whether *n* is a relative or
-- absolute index. The default value is `false`, for an absolute index.
--- @see _G._G._BUFFERS
+-- @see _G._BUFFERS
-- @see events.BUFFER_BEFORE_SWITCH
-- @see events.BUFFER_AFTER_SWITCH
function goto_buffer(view, n, relative) end