diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-09-19 14:53:20 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-09-19 14:53:20 -0400 |
commit | 14e524cf217250388d374433cf6f3241f66e4e01 (patch) | |
tree | baa0c6f3c45cbd1946403a9762cadcffdb530ef7 /core/.buffer.luadoc | |
parent | 28a73bcf0fe6fa9cd97e50734fb243c625284a89 (diff) |
Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks.
Also moved buffer state save/restore into ui module.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r-- | core/.buffer.luadoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 7a70b5c4..9ad6ee0d 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -1781,6 +1781,8 @@ function style_of_name(buffer, style_name) end --- -- Reloads the buffer's file contents, discarding any changes. +-- Emits `FILE_BEFORE_RELOAD` and `FILE_AFTER_RELOAD` events if the buffer is +-- the current one. -- @param buffer A buffer. -- @name reload function reload(buffer) end |