aboutsummaryrefslogtreecommitdiff
path: root/core
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 /core
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 'core')
-rw-r--r--core/events.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index 0953f2f1..3623d1b5 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -347,6 +347,7 @@ local scnotifications = {
[c.SCN_SAVEPOINTLEFT] = { 'save_point_left' },
[c.SCN_DOUBLECLICK] = { 'double_click', 'position', 'line', 'modifiers' },
[c.SCN_UPDATEUI] = { 'update_ui' },
+ [c.SCN_MODIFIED] = { 'modified', 'modification_type' }, -- undocumented
[c.SCN_MARGINCLICK] = { 'margin_click', 'margin', 'position', 'modifiers' },
[c.SCN_USERLISTSELECTION] = {
'user_list_selection', 'wParam', 'text', 'position'