Skip to content

Commit

Permalink
Уточнение revision 13496.
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Oct 31, 2015
1 parent ba8c663 commit dc7b441
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
Version = { 1, 0, 0, 540 },
Version = { 1, 0, 0, 541 },
MinFarVersion = { 3, 0, 0, 4450 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
Expand Down
6 changes: 5 additions & 1 deletion plugins/luamacro/changelog
@@ -1,4 +1,8 @@
shmuel 31.10.2015 19:33:22 +0200 - build 540
shmuel 31.10.2015 22:34:42 +0200 - build 541

1. Уточнение 540.

shmuel 31.10.2015 19:33:22 +0200 - build 540

1. Добавлен новый вид события: group="MacrosLoaded". Обработчики вызываются по завершению загрузки макрофайлов.

Expand Down
2 changes: 1 addition & 1 deletion plugins/luamacro/luamacro.rc
@@ -1,6 +1,6 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 540
#define PLUGIN_BUILD 541
#define PLUGIN_DESC "Lua Macros for Far Manager"
#define PLUGIN_NAME "LuaMacro"
#define PLUGIN_FILENAME "luamacro.dll"
Expand Down
3 changes: 2 additions & 1 deletion plugins/luamacro/utils.lua
Expand Up @@ -766,7 +766,8 @@ local function LoadMacros (unload, paths)
export.ProcessViewerEvent = Events.viewerevent[1] and export_ProcessViewerEvent
export.ProcessConsoleInput = Events.consoleinput[1] and export_ProcessConsoleInput

EV_Handler(Events.macrosloaded)
local ok, msg = pcall(EV_Handler, Events.macrosloaded)
if not ok then ErrMsg(msg) end
LoadMacrosDone = true
end

Expand Down

0 comments on commit dc7b441

Please sign in to comment.