diff options
author | 2021-04-30 18:40:06 -0400 | |
---|---|---|
committer | 2021-04-30 18:40:06 -0400 | |
commit | 715901363a02634f5336c0d3f18cbd9a9c080b4a (patch) | |
tree | 315146ace595595cefe4e6b4eae01c475a21a85b /core/.buffer.luadoc | |
parent | a775e9fb4188f2638111c15623ea9bd5c804b3e2 (diff) |
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.)
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r-- | core/.buffer.luadoc | 1 |
1 files changed, 0 insertions, 1 deletions
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 |