Macros: fix function tooltips

This commit is contained in:
Julia Radzhabova
2024-10-31 18:31:19 +03:00
parent 23f8d2f628
commit 75e0a53e78
2 changed files with 2 additions and 0 deletions

View File

@ -651,6 +651,7 @@ define([], function () {
close: function(suppressevent) { close: function(suppressevent) {
var $window = this.getChild(); var $window = this.getChild();
if (!$window.find('.combobox.open').length) { if (!$window.find('.combobox.open').length) {
this.codeEditor.destroy();
Common.UI.Window.prototype.close.call(this, arguments); Common.UI.Window.prototype.close.call(this, arguments);
} }
}, },

View File

@ -1827,6 +1827,7 @@ ace.define("ace/tern/tern_server",["require","exports","module","ace/range","ace
this.lastAutoCompleteFireTime = null; this.lastAutoCompleteFireTime = null;
this.queryTimeout = 3000; this.queryTimeout = 3000;
if (this.options.queryTimeout && !isNaN(parseInt(this.options.queryTimeout))) this.queryTimeout = parseInt(this.options.queryTimeout); if (this.options.queryTimeout && !isNaN(parseInt(this.options.queryTimeout))) this.queryTimeout = parseInt(this.options.queryTimeout);
popupSelectBound = false;
}; };
var Pos = function (line, ch) { var Pos = function (line, ch) {
return { return {