Skip to content

Commit

Permalink
package 07.02.24
Browse files Browse the repository at this point in the history
  • Loading branch information
oykuyilmaz committed Feb 7, 2024
1 parent 6f628d5 commit e9b8923
Show file tree
Hide file tree
Showing 23 changed files with 186 additions and 22 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

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.32.6](https://github.com/ajaxorg/ace/compare/v1.32.5...v1.32.6) (2024-02-07)

### [1.32.5](https://github.com/ajaxorg/ace/compare/v1.32.4...v1.32.5) (2024-01-30)

### [1.32.4](https://github.com/ajaxorg/ace/compare/v1.32.3...v1.32.4) (2024-01-29)
Expand Down
20 changes: 19 additions & 1 deletion demo/kitchen-sink/demo.js
Expand Up @@ -5374,8 +5374,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -5420,8 +5422,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -5472,6 +5476,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "ace-builds",
"main": "./src-noconflict/ace.js",
"typings": "ace.d.ts",
"version": "1.32.5",
"version": "1.32.6",
"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-noconflict/ext-emmet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-inline_autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-prompt.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.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-noconflict/ace.js
Expand Up @@ -1253,7 +1253,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.32.5";
exports.version = "1.32.6";

});

Expand Down
20 changes: 19 additions & 1 deletion src-noconflict/ext-emmet.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
20 changes: 19 additions & 1 deletion src-noconflict/ext-inline_autocomplete.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
20 changes: 19 additions & 1 deletion src-noconflict/ext-language_tools.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
20 changes: 19 additions & 1 deletion src-noconflict/ext-prompt.js
Expand Up @@ -1155,8 +1155,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -1201,8 +1203,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -1253,6 +1257,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
2 changes: 1 addition & 1 deletion src/ace.js
Expand Up @@ -1253,7 +1253,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.32.5";
exports.version = "1.32.6";

});

Expand Down
20 changes: 19 additions & 1 deletion src/ext-emmet.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
20 changes: 19 additions & 1 deletion src/ext-inline_autocomplete.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down
20 changes: 19 additions & 1 deletion src/ext-language_tools.js
Expand Up @@ -806,8 +806,10 @@ var TabstopManager = /** @class */ (function () {
if (index == max)
index = 0;
this.selectTabstop(index);
if (index === 0)
this.updateTabstopMarkers();
if (index === 0) {
this.detach();
}
};
TabstopManager.prototype.selectTabstop = function (index) {
this.$openTabstops = null;
Expand Down Expand Up @@ -852,8 +854,10 @@ var TabstopManager = /** @class */ (function () {
var i = this.index;
var arg = [i + 1, 0];
var ranges = this.ranges;
var snippetId = this.snippetId = (this.snippetId || 0) + 1;
tabstops.forEach(function (ts, index) {
var dest = this.$openTabstops[index] || ts;
dest.snippetId = snippetId;
for (var i = 0; i < ts.length; i++) {
var p = ts[i];
var range = Range.fromPoints(p.start, p.end || p.start);
Expand Down Expand Up @@ -904,6 +908,20 @@ var TabstopManager = /** @class */ (function () {
range.markerId = null;
});
};
TabstopManager.prototype.updateTabstopMarkers = function () {
if (!this.selectedTabstop)
return;
var currentSnippetId = this.selectedTabstop.snippetId;
if (this.selectedTabstop.index === 0) {
currentSnippetId--;
}
this.tabstops.forEach(function (ts) {
if (ts.snippetId === currentSnippetId)
this.addTabstopMarkers(ts);
else
this.removeTabstopMarkers(ts);
}, this);
};
TabstopManager.prototype.removeRange = function (range) {
var i = range.tabstop.indexOf(range);
if (i != -1)
Expand Down

0 comments on commit e9b8923

Please sign in to comment.