aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-03-24 10:00:45 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-03-24 10:00:45 -0400
commitf05a5b7a20a9df50fc8116324fe078ca473343d6 (patch)
tree8d9baf4f499433897090bbfd2f6073eeebef2a77 /core/events.lua
parent215797f4739bb151317b0c4eb7899d346a35e3de (diff)
downloadtextadept-f05a5b7a20a9df50fc8116324fe078ca473343d6.tar.gz
textadept-f05a5b7a20a9df50fc8116324fe078ca473343d6.zip
Updated to pre-release version of Scintilla 3.8.0.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index f758a3a0..b5996baa 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -52,6 +52,14 @@ local M = {}
--
-- * _`text`_: The selection's text.
-- * _`position`_: The autocompleted word's beginning position.
+-- @field AUTO_C_SELECTION_CHANGE (string)
+-- Emitted as items are highlighted in an autocompletion or user list.
+-- Arguments:
+--
+-- * _`id`_: Either the *id* from [`buffer.user_list_show()`]() or `0` for an
+-- autocompletion list.
+-- * _`text`_: The current selection's text.
+-- * _`position`_: The position the list was displayed at.
-- @field BUFFER_AFTER_SWITCH (string)
-- Emitted right after switching to another buffer.
-- Emitted by [`view.goto_buffer()`]().
@@ -361,6 +369,9 @@ local scnotifications = {
[c.SCN_INDICATORRELEASE] = {'indicator_release', 'position'},
[c.SCN_CALLTIPCLICK] = {'call_tip_click', 'position'},
[c.SCN_AUTOCSELECTION] = {'auto_c_selection', 'text', 'position'},
+ [c.SCN_AUTOCSELECTIONCHANGE] = {
+ 'auto_c_selection_change', 'id', 'text', 'position'
+ },
[c.SCN_AUTOCCANCELLED] = {'auto_c_cancelled'},
[c.SCN_AUTOCCHARDELETED] = {'auto_c_char_deleted'},
[c.SCN_AUTOCCOMPLETED] = {'auto_c_completed', 'text', 'position'},