From 51e373d39fb303bc378adb29fcb39010289e8d86 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 7 Jun 2014 10:56:29 -0400 Subject: Added parameter to `events.UPDATE_UI`. --- src/textadept.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/textadept.c') 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); } -- cgit v1.2.3