Skip to content

Commit

Permalink
Макро-браузер отображает поле "id" в диалоге информации о макросе.
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Jul 18, 2016
1 parent 0b01648 commit 51ef749
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
Version = { 1, 0, 0, 579 },
Version = { 1, 0, 0, 580 },
MinFarVersion = { 3, 0, 0, 4582 },
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 18.07.2016 15:59:19 +0200 - build 579
shmuel 18.07.2016 17:55:32 +0200 - build 580.

1. Макро-браузер отображает поле "id" в диалоге информации о макросе.

shmuel 18.07.2016 15:59:19 +0200 - build 579

1. В таблицы определений Macro и Event добавлено опциональное поле "id" типа string.

Expand Down
4 changes: 2 additions & 2 deletions plugins/luamacro/lm_eng.lng
Expand Up @@ -8,15 +8,15 @@

// macro browser help window
"F1 show this help window"
"F3 show info about macro/event"
"F3 show info about macro/event handler"
"F4 open file in editor"
"AltF4 open file in modal editor"
"CtrlPgUp locate file in active panel"
"CtrlF1 sort macros by area"
"CtrlF2 sort macros by key"
"CtrlF3 sort macros by description"
"Enter execute selected macro"
"CtrlH hide inactive macros"
"CtrlH hide/show inactive macros"

// macro browser separators
"Macros"
Expand Down
4 changes: 2 additions & 2 deletions plugins/luamacro/lm_rus.lng
Expand Up @@ -8,15 +8,15 @@

// macro browser help window
"F1 показать эту справку"
"F3 информация о макросе или событии"
"F3 информация о макросе или обработчике события"
"F4 открыть файл в редакторе"
"AltF4 открыть файл в модальном редакторе"
"CtrlPgUp перейти к файлу на активной панели"
"CtrlF1 сортировать макросы по области"
"CtrlF2 сортировать макросы по ключу"
"CtrlF3 сортировать макросы по описанию"
"Enter исполнить выделенный макрос"
"CtrlH спрятать неактивные макросы"
"CtrlH спрятать/показать неактивные макросы"

// macro browser separators
"Макросы"
Expand Down
2 changes: 1 addition & 1 deletion plugins/luamacro/luamacro.rc
@@ -1,6 +1,6 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 579
#define PLUGIN_BUILD 580
#define PLUGIN_DESC "Lua Macros for Far Manager"
#define PLUGIN_NAME "LuaMacro"
#define PLUGIN_FILENAME "luamacro.dll"
Expand Down
4 changes: 4 additions & 0 deletions plugins/luamacro/mbrowser.lua
Expand Up @@ -149,6 +149,7 @@ priority │ %s
condition │ %s
action │ %s
code │ %s
id │ %s
%s
%s]]) :format(m.description or "id="..m.id,
m.area,
Expand All @@ -158,6 +159,7 @@ code │ %s
m.condition and tostring(m.condition) or "",
m.action and tostring(m.action) or "",
code,
m.id,
"\1",
m.FileName or "<"..Msg.MBNoFileNameAvail..">")
far.Message(str,Msg.MBTitleMacro,nil,"l")
Expand All @@ -169,13 +171,15 @@ filemask │ %s
priority │ %s
condition │ %s
action │ %s
id │ %s
%s
%s]]) :format(m.description or "",
m.group,
m.filemask or "",
m.priority or "",
m.condition and tostring(m.condition) or "",
m.action and tostring(m.action) or "",
m.id,
"\1",
m.FileName)
far.Message(str,Msg.MBTitleEventHandler,nil,"l")
Expand Down

0 comments on commit 51ef749

Please sign in to comment.