diff options
author | 2010-06-17 21:40:46 -0400 | |
---|---|---|
committer | 2010-06-17 21:40:46 -0400 | |
commit | 44d46d022675756783e3c007923a77446d52b7e7 (patch) | |
tree | 833da6536abe6d4934a86503e80b07a8749a7566 /core/.view.luadoc | |
parent | 75efa82b280d1240667c1207f411ccef65149222 (diff) | |
download | textadept-44d46d022675756783e3c007923a77446d52b7e7.tar.gz textadept-44d46d022675756783e3c007923a77446d52b7e7.zip |
Renamed core/.*.lua to core/.*.luadoc documentation files.
Diffstat (limited to 'core/.view.luadoc')
-rw-r--r-- | core/.view.luadoc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/core/.view.luadoc b/core/.view.luadoc new file mode 100644 index 00000000..010723da --- /dev/null +++ b/core/.view.luadoc @@ -0,0 +1,39 @@ +-- Copyright 2007-2010 Mitchell mitchell<att>caladbolg.net. See LICENSE. +-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the +-- global view table. + +--- +-- The currently focused view. +-- It also represents the structure of any view table in 'views'. +module('view') + +-- Markdown: +-- ## Fields +-- +-- * `doc_pointer`: The pointer to the document associated with this view's +-- buffer. (Used internally; read-only) +-- * `size`: The integer position of the split resizer (if this view is part of +-- a split view). + +--- +-- Splits the indexed view vertically or horizontally and focuses the new view. +-- @param vertical Flag indicating a vertical split. False for horizontal. +-- @return old view and new view tables. +function view:split(vertical) end + +--- +-- Unsplits the indexed view if possible. +-- @return boolean if the view was unsplit or not. +function view:unsplit() end + +--- +-- Goes to the specified buffer in the indexed view. +-- 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 + +--- +-- Focuses the indexed view if it hasn't been already. +function view:focus() end + |