1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-28 08:48:48 +02:00

Доработка генерации события EVENT_BEFORE_SIGNATURE fixes #95

This commit is contained in:
salexdv 2021-05-07 11:31:12 +03:00
parent ba7dfda60f
commit 6ea99b4b7c

View File

@ -423,6 +423,7 @@ define([], function () {
provideSignatureHelp: (model, position, token, context) => {
let bsl = new bslHelper(model, position);
let helper = bsl.getSigHelp(context);
if (generateBeforeSignatureEvent) {
let activeSignature = context.activeSignatureHelp ? context.activeSignatureHelp.activeSignature : 0;
@ -436,8 +437,6 @@ define([], function () {
}
sendEvent('EVENT_BEFORE_SIGNATURE', params);
}
let helper = bsl.getSigHelp(context);
if (helper) {