aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-09-28 15:27:10 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-09-28 15:27:10 -0400
commitea4775ceb5fdddcdcf533d705ee3880da2cd0997 (patch)
tree60c9bd6666493d5382088f179948e2bcad96f013 /src/textadept.c
parenta63c51c8df090726c654b239d15568a6d54b9c06 (diff)
downloadtextadept-ea4775ceb5fdddcdcf533d705ee3880da2cd0997.tar.gz
textadept-ea4775ceb5fdddcdcf533d705ee3880da2cd0997.zip
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.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c4
1 files changed, 2 insertions, 2 deletions
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");