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:
parent
ba7dfda60f
commit
6ea99b4b7c
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user