Skip to content

Commit

Permalink
package 10.07.23
Browse files Browse the repository at this point in the history
  • Loading branch information
akoreman committed Jul 10, 2023
1 parent 47a1eed commit 7f32c45
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 69 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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.23.3](https://github.com/ajaxorg/ace/compare/v1.23.2...v1.23.3) (2023-07-10)


### Bug Fixes

* android bug when deleting multiple lines ([#5248](https://github.com/ajaxorg/ace/issues/5248)) ([bd066ff](https://github.com/ajaxorg/ace/commit/bd066ffef88ca74f5ac32349d3e868cfa875a47b)), closes [#5087](https://github.com/ajaxorg/ace/issues/5087)
* update jshint version to 2.13.6; change esversion to target ECMAScript 11 ([#5243](https://github.com/ajaxorg/ace/issues/5243)) ([301aee9](https://github.com/ajaxorg/ace/commit/301aee91b5974d9fb31d646466ed301c5c3b8249))

### [1.23.2](https://github.com/ajaxorg/ace/compare/v1.23.1...v1.23.2) (2023-07-07)


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.23.2",
"version": "1.23.3",
"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/worker-javascript.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/worker-javascript.js

Large diffs are not rendered by default.

27 changes: 1 addition & 26 deletions src-noconflict/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.23.2";
exports.version = "1.23.3";

});

Expand Down Expand Up @@ -2054,8 +2054,6 @@ var TextInput = function (parentNode, host) {
return;
host.onBlur(e);
isFocused = false;
if (isMobile && !isIOS)
document.removeEventListener("selectionchange", detectSelectionChange);
}, host);
event.addListener(text, "focus", function (e) {
if (ignoreFocusEvents)
Expand All @@ -2073,8 +2071,6 @@ var TextInput = function (parentNode, host) {
setTimeout(resetSelection);
else
resetSelection();
if (isMobile && !isIOS)
document.addEventListener("selectionchange", detectSelectionChange);
}, host);
this.$focusScroll = false;
this.focus = function () {
Expand Down Expand Up @@ -2242,27 +2238,6 @@ var TextInput = function (parentNode, host) {
resetSelection();
}
};
function detectSelectionChange(e) {
if (!text || !text.parentNode)
document.removeEventListener("selectionchange", detectSelectionChange);
if (inComposition)
return;
if (text.selectionStart !== text.selectionEnd)
return;
var startDiff = text.selectionStart - lastSelectionStart;
var oldLenght = lastSelectionEnd - lastSelectionStart;
if (startDiff > 0) {
startDiff = Math.max(startDiff - oldLenght, 1);
}
else if (startDiff === 0 && oldLenght) {
startDiff = -1;
}
var repeat = Math.abs(startDiff);
var key = startDiff > 0 ? KEYS.right : KEYS.left;
for (var i = 0; i < repeat; i++) {
host.onCommandKey({}, 0, key);
}
}
var inputHandler = null;
this.setInputHandler = function (cb) { inputHandler = cb; };
this.getInputHandler = function () { return inputHandler; };
Expand Down
12 changes: 6 additions & 6 deletions src-noconflict/worker-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@ module.exports = slice;
exports.noConflict = function () { global._ = current; return exports; };
}()));
}(this, (function () {
var VERSION = '1.13.4';
var VERSION = '1.13.6';
var root = (typeof self == 'object' && self.self === self && self) ||
(typeof global == 'object' && global.global === global && global) ||
Function('return this')() ||
Expand Down Expand Up @@ -3805,7 +3805,7 @@ module.exports = slice;
},{}],"/../../../jshint/src/jshint.js":[function(_dereq_,module,exports){

var _ = _dereq_("underscore");
_.clone = _dereq_("lodash.clone");
_.clone = _dereq_("lodash.clone");
var events = _dereq_("events");
var vars = _dereq_("./vars.js");
var messages = _dereq_("./messages.js");
Expand Down Expand Up @@ -7376,7 +7376,7 @@ var JSHINT = (function() {
var id = state.tokens.prev;
value = expression(context, 10);
if (value) {
if (value.identifier && value.value === "undefined") {
if (!isConst && value.identifier && value.value === "undefined") {
warning("W080", id, id.value);
}
if (!lone) {
Expand Down Expand Up @@ -11314,7 +11314,7 @@ var errors = {
E009: "Option 'validthis' can't be used in a global scope.",
E010: "'with' is not allowed in strict mode.",
E011: "'{a}' has already been declared.",
E012: "const '{a}' is initialized to 'undefined'.",
E012: "Missing initializer for constant '{a}'.",
E013: "Attempting to override '{a}' which is a constant.",
E014: "A regular expression literal can be confused with '/='.",
E015: "Unclosed regular expression.",
Expand Down Expand Up @@ -11803,7 +11803,7 @@ exports.regexpDot = /(^|[^\\])(\\\\)*\./;
"use strict";

var _ = _dereq_("underscore");
_.slice = _dereq_("lodash.slice");
_.slice = _dereq_("lodash.slice");
var events = _dereq_("events");
var marker = {};
var scopeManager = function(state, predefined, exported, declared) {
Expand Down Expand Up @@ -15304,7 +15304,7 @@ oop.inherits(JavaScriptWorker, Mirror);
(function() {
this.setOptions = function(options) {
this.options = options || {
esnext: true,
esversion: 11,
moz: true,
devel: true,
browser: true,
Expand Down
27 changes: 1 addition & 26 deletions src/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.23.2";
exports.version = "1.23.3";

});

Expand Down Expand Up @@ -2054,8 +2054,6 @@ var TextInput = function (parentNode, host) {
return;
host.onBlur(e);
isFocused = false;
if (isMobile && !isIOS)
document.removeEventListener("selectionchange", detectSelectionChange);
}, host);
event.addListener(text, "focus", function (e) {
if (ignoreFocusEvents)
Expand All @@ -2073,8 +2071,6 @@ var TextInput = function (parentNode, host) {
setTimeout(resetSelection);
else
resetSelection();
if (isMobile && !isIOS)
document.addEventListener("selectionchange", detectSelectionChange);
}, host);
this.$focusScroll = false;
this.focus = function () {
Expand Down Expand Up @@ -2242,27 +2238,6 @@ var TextInput = function (parentNode, host) {
resetSelection();
}
};
function detectSelectionChange(e) {
if (!text || !text.parentNode)
document.removeEventListener("selectionchange", detectSelectionChange);
if (inComposition)
return;
if (text.selectionStart !== text.selectionEnd)
return;
var startDiff = text.selectionStart - lastSelectionStart;
var oldLenght = lastSelectionEnd - lastSelectionStart;
if (startDiff > 0) {
startDiff = Math.max(startDiff - oldLenght, 1);
}
else if (startDiff === 0 && oldLenght) {
startDiff = -1;
}
var repeat = Math.abs(startDiff);
var key = startDiff > 0 ? KEYS.right : KEYS.left;
for (var i = 0; i < repeat; i++) {
host.onCommandKey({}, 0, key);
}
}
var inputHandler = null;
this.setInputHandler = function (cb) { inputHandler = cb; };
this.getInputHandler = function () { return inputHandler; };
Expand Down
12 changes: 6 additions & 6 deletions src/worker-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@ module.exports = slice;
exports.noConflict = function () { global._ = current; return exports; };
}()));
}(this, (function () {
var VERSION = '1.13.4';
var VERSION = '1.13.6';
var root = (typeof self == 'object' && self.self === self && self) ||
(typeof global == 'object' && global.global === global && global) ||
Function('return this')() ||
Expand Down Expand Up @@ -3805,7 +3805,7 @@ module.exports = slice;
},{}],"/../../../jshint/src/jshint.js":[function(_dereq_,module,exports){

var _ = _dereq_("underscore");
_.clone = _dereq_("lodash.clone");
_.clone = _dereq_("lodash.clone");
var events = _dereq_("events");
var vars = _dereq_("./vars.js");
var messages = _dereq_("./messages.js");
Expand Down Expand Up @@ -7376,7 +7376,7 @@ var JSHINT = (function() {
var id = state.tokens.prev;
value = expression(context, 10);
if (value) {
if (value.identifier && value.value === "undefined") {
if (!isConst && value.identifier && value.value === "undefined") {
warning("W080", id, id.value);
}
if (!lone) {
Expand Down Expand Up @@ -11314,7 +11314,7 @@ var errors = {
E009: "Option 'validthis' can't be used in a global scope.",
E010: "'with' is not allowed in strict mode.",
E011: "'{a}' has already been declared.",
E012: "const '{a}' is initialized to 'undefined'.",
E012: "Missing initializer for constant '{a}'.",
E013: "Attempting to override '{a}' which is a constant.",
E014: "A regular expression literal can be confused with '/='.",
E015: "Unclosed regular expression.",
Expand Down Expand Up @@ -11803,7 +11803,7 @@ exports.regexpDot = /(^|[^\\])(\\\\)*\./;
"use strict";

var _ = _dereq_("underscore");
_.slice = _dereq_("lodash.slice");
_.slice = _dereq_("lodash.slice");
var events = _dereq_("events");
var marker = {};
var scopeManager = function(state, predefined, exported, declared) {
Expand Down Expand Up @@ -15304,7 +15304,7 @@ oop.inherits(JavaScriptWorker, Mirror);
(function() {
this.setOptions = function(options) {
this.options = options || {
esnext: true,
esversion: 11,
moz: true,
devel: true,
browser: true,
Expand Down

0 comments on commit 7f32c45

Please sign in to comment.