diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-04-24 09:32:10 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-04-24 09:32:10 -0400 |
commit | 3f3c9838290e9d3df43d94ab389646985aa4613d (patch) | |
tree | b4ccaf9258676b0c09e3c8efb8898191673fb4ee /core/.buffer.luadoc | |
parent | 9e97b8fa01638740f1ab2880a6a72bd1275c6fd6 (diff) |
Renamed `_G.buffer_new()` to `buffer.new()`.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r-- | core/.buffer.luadoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 248d90b6..6f57ac5b 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -2785,6 +2785,14 @@ function check_global(buffer) end function delete(buffer) end --- +-- Creates and returns a new buffer. +-- Emits a `BUFFER_NEW` event. +-- @return the new buffer. +-- @class function +-- @see events.BUFFER_NEW +function new() end + +--- -- Returns the range of text from *start_pos* to *end_pos* in the buffer. -- @param buffer The global buffer. -- @param start_pos The start position of the range of text to get in *buffer*. |