diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-02-24 08:44:41 -0500 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-02-24 08:44:41 -0500 |
commit | c26b98733225c36ef21d0d3818979dcaa6197acd (patch) | |
tree | 76fce935cea8e656e24d616ea55798077a1e3ff5 /src/textadept.c | |
parent | 132d331c8612421a8f95a8b73572b49e27ee38b9 (diff) |
Added `_SCINTILLA.events` and use it for SCNotifications.
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |