Update ACE Editor to version 1.2.9

The new ACE editor introduces full support for emojis (and, thereby, UTF-16 characters with high- and low-surrogates). Hence, we can remove our custom fix.

Further, this update will allow emojis to be used in pair programming sessions.
This commit is contained in:
Sebastian Serth
2023-09-12 18:45:47 +02:00
parent 13bd68d760
commit 60656443e2
210 changed files with 66466 additions and 33266 deletions

View File

@ -38,7 +38,7 @@ var MatchingBraceOutdent = function() {};
exports.MatchingBraceOutdent = MatchingBraceOutdent;
});
define("ace/mode/livescript",["require","exports","module","ace/tokenizer","ace/mode/matching_brace_outdent","ace/range","ace/mode/text"], function(require, exports, module){
define("ace/mode/livescript",["require","exports","module","ace/tokenizer","ace/mode/matching_brace_outdent","ace/mode/text"], function(require, exports, module){
var identifier, LiveScriptMode, keywordend, stringfill;
identifier = '(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*';
exports.Mode = LiveScriptMode = (function(superclass){
@ -63,23 +63,8 @@ define("ace/mode/livescript",["require","exports","module","ace/tokenizer","ace/
}
return indent;
};
prototype.toggleCommentLines = function(state, doc, startRow, endRow){
var comment, range, i$, i, out, line;
comment = /^(\s*)#/;
range = new (require('../range')).Range(0, 0, 0, 0);
for (i$ = startRow; i$ <= endRow; ++i$) {
i = i$;
if (out = comment.test(line = doc.getLine(i))) {
line = line.replace(comment, '$1');
} else {
line = line.replace(/^\s*/, '$&#');
}
range.end.row = range.start.row = i;
range.end.column = line.length + 1;
doc.replace(range, line);
}
return 1 - out * 2;
};
prototype.lineCommentStart = "#";
prototype.blockComment = {start: "###", end: "###"};
prototype.checkOutdent = function(state, line, input){
var ref$;
return (ref$ = this.$outdent) != null ? ref$.checkOutdent(line, input) : void 8;