aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-08-02 16:08:32 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-08-02 16:08:32 -0400
commitc19716305de87bdbaff92cd7f5b61d3907d09852 (patch)
tree110ed7a0252f9cf5142c725ed0455a71c0513945 /core/events.lua
parentd66e26a3b02db78d585cd3ca99a2d4ce16c048ac (diff)
downloadtextadept-c19716305de87bdbaff92cd7f5b61d3907d09852.tar.gz
textadept-c19716305de87bdbaff92cd7f5b61d3907d09852.zip
Updated to Scintilla 3.6.0.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index a1e2dd24..ed4268bb 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -38,6 +38,13 @@ local M = {}
-- active.
-- @field AUTO_C_CANCELED (string)
-- Emitted when canceling an autocompletion or user list.
+-- @field AUTO_C_COMPLETED (string)
+-- Emitted after inserting an item from an autocompletion list into the
+-- buffer.
+-- Arguments:
+--
+-- * _`text`_: The selection's text.
+-- * _`position`_: The autocompleted word's beginning position.
-- @field AUTO_C_SELECTION (string)
-- Emitted after selecting an item from an autocompletion list, but before
-- inserting that item into the buffer.
@@ -340,6 +347,7 @@ local scnotifications = {
[c.SCN_INDICATORRELEASE] = {'indicator_release', 'position'},
[c.SCN_AUTOCCANCELLED] = {'auto_c_cancelled'},
[c.SCN_AUTOCCHARDELETED] = {'auto_c_char_deleted'},
+ [c.SCN_AUTOCCOMPLETED] = {'auto_c_completed', 'text', 'position'},
}
-- Handles Scintilla notifications.