Skip to content

Commit

Permalink
package 20.12.24
Browse files Browse the repository at this point in the history
  • Loading branch information
nlujjawal committed Dec 20, 2024
1 parent 854c339 commit da6219a
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.37.1](https://github.com/ajaxorg/ace/compare/v1.37.0...v1.37.1) (2024-12-20)


### Bug Fixes

* hide gutter tooltip event missing from editor signal ([#5701](https://github.com/ajaxorg/ace/issues/5701)) ([66a6736](https://github.com/ajaxorg/ace/commit/66a673643d5d128eaf59d4fb6e5907fa6fa68773))

### [1.36.6](https://github.com/ajaxorg/ace/compare/v1.36.5...v1.36.6) (2024-12-17)


Expand Down
2 changes: 1 addition & 1 deletion ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ declare module "ace-builds" {
import { Range } from "ace-builds-internal/range";
import { UndoManager } from "ace-builds-internal/undomanager";
import { VirtualRenderer as Renderer } from "ace-builds-internal/virtual_renderer";
export var version: "1.37.0";
export var version: "1.37.1";
export { Range, Editor, EditSession, UndoManager, Renderer as VirtualRenderer };
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ace-builds",
"main": "./src-noconflict/ace.js",
"typings": "ace.d.ts",
"version": "1.37.0",
"version": "1.37.1",
"description": "Ace (Ajax.org Cloud9 Editor)",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion src-min-noconflict/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min/ace.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions src-noconflict/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.37.0";
exports.version = "1.37.1";

});

Expand Down Expand Up @@ -3501,6 +3501,7 @@ var GutterTooltip = /** @class */ (function (_super) {
function GutterTooltip(editor) {
var _this = _super.call(this, editor.container) || this;
_this.editor = editor;
_this.visibleTooltipRow;
return _this;
}
GutterTooltip.prototype.setPosition = function (x, y) {
Expand Down Expand Up @@ -3582,7 +3583,7 @@ var GutterTooltip = /** @class */ (function (_super) {
}
}
if (annotation.displayText.length === 0)
return this.hide();
return this.hideTooltip();
var annotationMessages = { error: [], security: [], warning: [], info: [], hint: [] };
var iconClassName = gutter.$useSvgGutterIcons ? "ace_icon_svg" : "ace_icon";
for (var i = 0; i < annotation.displayText.length; i++) {
Expand Down Expand Up @@ -3610,11 +3611,16 @@ var GutterTooltip = /** @class */ (function (_super) {
this.setClassName("ace_gutter-tooltip");
}
this.show();
this.visibleTooltipRow = row;
this.editor._signal("showGutterTooltip", this);
};
GutterTooltip.prototype.hideTooltip = function () {
if (!this.isOpen) {
return;
}
this.$element.removeAttribute("aria-live");
this.hide();
this.visibleTooltipRow = undefined;
this.editor._signal("hideGutterTooltip", this);
};
GutterTooltip.annotationsToSummaryString = function (annotations) {
Expand Down
10 changes: 8 additions & 2 deletions src/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.37.0";
exports.version = "1.37.1";

});

Expand Down Expand Up @@ -3501,6 +3501,7 @@ var GutterTooltip = /** @class */ (function (_super) {
function GutterTooltip(editor) {
var _this = _super.call(this, editor.container) || this;
_this.editor = editor;
_this.visibleTooltipRow;
return _this;
}
GutterTooltip.prototype.setPosition = function (x, y) {
Expand Down Expand Up @@ -3582,7 +3583,7 @@ var GutterTooltip = /** @class */ (function (_super) {
}
}
if (annotation.displayText.length === 0)
return this.hide();
return this.hideTooltip();
var annotationMessages = { error: [], security: [], warning: [], info: [], hint: [] };
var iconClassName = gutter.$useSvgGutterIcons ? "ace_icon_svg" : "ace_icon";
for (var i = 0; i < annotation.displayText.length; i++) {
Expand Down Expand Up @@ -3610,11 +3611,16 @@ var GutterTooltip = /** @class */ (function (_super) {
this.setClassName("ace_gutter-tooltip");
}
this.show();
this.visibleTooltipRow = row;
this.editor._signal("showGutterTooltip", this);
};
GutterTooltip.prototype.hideTooltip = function () {
if (!this.isOpen) {
return;
}
this.$element.removeAttribute("aria-live");
this.hide();
this.visibleTooltipRow = undefined;
this.editor._signal("hideGutterTooltip", this);
};
GutterTooltip.annotationsToSummaryString = function (annotations) {
Expand Down
5 changes: 3 additions & 2 deletions types/ace-modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ declare module "ace-builds-internal/config" {
string
], onLoad: (module: any) => void) => void;
setModuleLoader: (moduleName: any, onLoad: any) => void;
version: "1.36.5";
version: "1.37.1";
};
export = _exports;
}
Expand Down Expand Up @@ -890,7 +890,7 @@ declare module "ace-builds-internal/virtual_renderer" {
* @param {EditSession} session The session to associate with
**/
setSession(session: EditSession): void;
session: import("ace-builds-internal/edit_session").EditSession;
session: import("ace-builds").Ace.EditSession;
/**
* Triggers a partial update of the text, from the range given by the two parameters.
* @param {Number} firstRow The first row to update
Expand Down Expand Up @@ -1702,6 +1702,7 @@ declare module "ace-builds-internal/mouse/default_gutter_handler" {
static annotationsToSummaryString(annotations: any): string;
constructor(editor: any);
editor: any;
visibleTooltipRow: number | undefined;
setPosition(x: any, y: any): void;
showTooltip(row: any): void;
hideTooltip(): void;
Expand Down

0 comments on commit da6219a

Please sign in to comment.