Skip to content
Permalink
Browse files

LuaFAR: minor refactoring + manual update

  • Loading branch information...
shmuz committed Oct 13, 2017
1 parent 0aba9af commit 4e1bcd18609b73a873e6f4cee2b9ffae411a90a2
@@ -6777,9 +6777,9 @@ lv=2
dt=Text
nm=far.MacroAdd
ctime=3523354795
mtime=3612862418
mtime=3717057110
<article>
#_Id = far.MacroAdd (Area, Flags, AKey, SequenceText, Description, Callback)
#_Id = far.MacroAdd (Area, Flags, AKey, SequenceText, Description, Callback, Priority)
#_
#_**Parameters:**
#_ Area: flags (defaults to MACROAREA_COMMON)
@@ -6788,6 +6788,7 @@ mtime=3612862418
#_ SequenceText: string
#_ Description: string (defaults to "")
#_ Callback: function, or nil
#_ Priority: integer (defaults to 50)
#_
#_**Returns:**
#_ Id: userdata (success), or nil (failure)
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
Version = { 1, 0, 0, 622 },
Version = { 1, 0, 0, 623 },
MinFarVersion = { 3, 0, 0, 5063 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
@@ -1,4 +1,8 @@
shmuel 12.10.2017 16:44:33 +0200 - build 622
shmuel 13.10.2017 11:40:50 +0200 - build 623

1. LuaFAR: minor refactoring.

shmuel 12.10.2017 16:44:33 +0200 - build 622

1. LuaFAR: M#3458: Падение Far в far.Timer при малых значениях периода

@@ -4814,11 +4814,7 @@ static int far_MacroAdd(lua_State* L)
data.Callback = MacroAddCallback;
}
data.Id = lua_newuserdata(L, sizeof(MacroAddData));
data.Priority = 50;
if (lua_isnumber(L, 7))
{
data.Priority = lua_tointeger(L, 7);
}
data.Priority = luaL_optinteger(L, 7, 50);

if (pd->Info->MacroControl(pd->PluginId, MCTL_ADDMACRO, 0, &data))
{
@@ -1,6 +1,6 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 622
#define PLUGIN_BUILD 623
#define PLUGIN_DESC "Lua Macros for Far Manager"
#define PLUGIN_NAME "LuaMacro"
#define PLUGIN_FILENAME "luamacro.dll"

0 comments on commit 4e1bcd1

Please sign in to comment.
You can’t perform that action at this time.