From c19716305de87bdbaff92cd7f5b61d3907d09852 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 2 Aug 2015 16:08:32 -0400 Subject: Updated to Scintilla 3.6.0. --- core/events.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/events.lua') 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. -- cgit v1.2.3