diff options
author | 2014-06-07 10:56:29 -0400 | |
---|---|---|
committer | 2014-06-07 10:56:29 -0400 | |
commit | 51e373d39fb303bc378adb29fcb39010289e8d86 (patch) | |
tree | 37ac82064ea625ce730f2e362e21ae59a8651f7b /src/textadept.c | |
parent | 7337a375d0c2a2341d13d8ec300b4e6f68368522 (diff) | |
download | textadept-51e373d39fb303bc378adb29fcb39010289e8d86.tar.gz textadept-51e373d39fb303bc378adb29fcb39010289e8d86.zip |
Added parameter to `events.UPDATE_UI`.
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index b6d90a86..bbf86d98 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1931,6 +1931,10 @@ static void lL_notify(lua_State *L, struct SCNotification *n) { lua_pushinteger(L, n->margin), lua_setfield(L, -2, "margin"); lua_pushinteger(L, n->x), lua_setfield(L, -2, "x"); lua_pushinteger(L, n->y), lua_setfield(L, -2, "y"); + //lua_pushinteger(L, n->token), lua_setfield(L, -2, "token"); + //lua_pushinteger(L, n->annotationLinesAdded); + //lua_setfield(L, -2, "annotation_lines_added"); + lua_pushinteger(L, n->updated), lua_setfield(L, -2, "updated"); lL_event(L, "SCN", LUA_TTABLE, luaL_ref(L, LUA_REGISTRYINDEX), -1); } |