From 715901363a02634f5336c0d3f18cbd9a9c080b4a Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 30 Apr 2021 18:40:06 -0400 Subject: Replaced `events.FILE_{BEFORE,AFTER}_RELOAD` with `events.BUFFER_{BEFORE,AFTER}_REPLACE_TEXT`. This allows more features to save/restore state when buffer contents are replaced (e.g. file reload, filter through, etc.) --- core/.buffer.luadoc | 1 - 1 file changed, 1 deletion(-) (limited to 'core/.buffer.luadoc') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 33b02bd5..2463a4bc 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -1671,7 +1671,6 @@ 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