From c26b98733225c36ef21d0d3818979dcaa6197acd Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 24 Feb 2020 08:44:41 -0500 Subject: Added `_SCINTILLA.events` and use it for SCNotifications. --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 28e06ada..304e99fe 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1880,7 +1880,7 @@ static void lL_notify(lua_State *L, struct SCNotification *n) { lua_pushinteger(L, n->length), lua_setfield(L, -2, "length"); // SCN_MODIFIED //lua_pushinteger(L, n->linesAdded), lua_setfield(L, -2, "lines_added"); //lua_pushinteger(L, n->message), lua_setfield(L, -2, "message"); - lua_pushinteger(L, n->wParam), lua_setfield(L, -2, "wParam"); + lua_pushinteger(L, n->listType), lua_setfield(L, -2, "list_type"); //lua_pushinteger(L, n->lParam), lua_setfield(L, -2, "lParam"); lua_pushinteger(L, n->line), lua_setfield(L, -2, "line"); //lua_pushinteger(L, n->foldLevelNow), lua_setfield(L, -2, "fold_level_now"); -- cgit v1.2.3