From f05a5b7a20a9df50fc8116324fe078ca473343d6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 24 Mar 2018 10:00:45 -0400 Subject: Updated to pre-release version of Scintilla 3.8.0. --- core/events.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core/events.lua') 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'}, -- cgit v1.2.3