From 14e524cf217250388d374433cf6f3241f66e4e01 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sat, 19 Sep 2020 14:53:20 -0400 Subject: Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks. Also moved buffer state save/restore into ui module. --- core/.buffer.luadoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/.buffer.luadoc') 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 -- cgit v1.2.3