From ea4775ceb5fdddcdcf533d705ee3880da2cd0997 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 28 Sep 2012 15:27:10 -0400 Subject: Added marks for making selection in ncurses. Even though the implementation uses a new `MODIFIED` event, it is left undocumented because it will likely never be a full implementation of SCN_MODIFIED. --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index fa222392..fcc6eb54 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1754,8 +1754,8 @@ static void lL_notify(lua_State *L, struct SCNotification *n) { lua_pushinteger(L, n->position), lua_setfield(L, -2, "position"); lua_pushinteger(L, n->ch), lua_setfield(L, -2, "ch"); lua_pushinteger(L, n->modifiers), lua_setfield(L, -2, "modifiers"); - //lua_pushinteger(L, n->modificationType); - //lua_setfield(L, -2, "modification_type"); + lua_pushinteger(L, n->modificationType); + lua_setfield(L, -2, "modification_type"); lua_pushstring(L, n->text), lua_setfield(L, -2, "text"); //lua_pushinteger(L, n->length), lua_setfield(L, -2, "length"); //lua_pushinteger(L, n->linesAdded), lua_setfield(L, -2, "lines_added"); -- cgit v1.2.3