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

fix for custom suggestions in "DCS" mode

This commit is contained in:
tormozit 2021-05-10 19:38:39 +03:00
parent 777ba906c5
commit bbe206c133

View File

@ -567,6 +567,10 @@ define([], function () {
completionProvider: {
triggerCharacters: ['.', '(', '&'],
provideCompletionItems: function (model, position, context, token) {
let widget = document.querySelector('.suggest-widget');
widget.style.display = '';
widget.style.visibility = '';
let bsl = new bslHelper(model, position);
let completition = bsl.getDCSCompletition();
if (generateBeforeShowSuggestEvent) {