aboutsummaryrefslogtreecommitdiff
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc37
1 files changed, 0 insertions, 37 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 488422a9..82a363ae 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -2721,43 +2721,6 @@ function new() end
function text_range(buffer, start_pos, end_pos) end
---
--- Reloads the file in the buffer.
--- @param buffer The global buffer.
-function reload(buffer) end
-
----
--- Sets the encoding for the buffer to *encoding*, converting its contents from
--- the old encoding to the new one.
--- @param buffer The global buffer.
--- @param encoding The string encoding to set. Valid encodings are ones that GNU
--- iconv accepts.
--- @usage buffer.set_encoding(buffer, 'ASCII')
-function set_encoding(buffer, encoding) end
-
----
--- Saves the buffer to the file.
--- Emits `FILE_BEFORE_SAVE` and `FILE_AFTER_SAVE` events.
--- @param buffer The global buffer.
--- @see _G.events
-function save(buffer) end
-
----
--- Saves the buffer to the *utf8_filename* or user-specified filename.
--- Emits a `FILE_SAVED_AS` event.
--- @param buffer The global buffer.
--- @param utf8_filename The new filepath to save the buffer to. Must be UTF-8
--- encoded.
--- @see _G.events
-function save_as(buffer, utf8_filename) end
-
----
--- Closes the buffer, prompting the user to continue if there are unsaved
--- changes, and returns `true` if the buffer was closed.
--- @param buffer The global buffer.
--- @return `true` if the buffer was closed; `nil` otherwise.
-function close(buffer) end
-
----
-- Returns the name of the lexer used by the buffer, or the name of the lexer
-- under the caret in a multiple-language lexer if *current* is `true`.
-- @param buffer The global buffer.