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

@ -59,7 +59,7 @@ var PascalHighlightRules = function() {
{ token: 'punctuation.definition.string.end.pascal',
regex: '"',
next: 'pop' },
{ defaultToken: 'string.quoted.double.pascal' } ],
{ defaultToken: 'string.quoted.double.pascal' } ]
},
{ token: 'punctuation.definition.string.begin.pascal',
regex: '\'',
@ -71,7 +71,7 @@ var PascalHighlightRules = function() {
next: 'pop' },
{ defaultToken: 'string.quoted.single.pascal' } ] },
{ token: 'keyword.operator',
regex: '[+\\-;,/*%]|:=|=' } ] }
regex: '[+\\-;,/*%]|:=|=' } ] };
this.normalizeRules();
};
@ -179,6 +179,7 @@ var FoldMode = require("./folding/coffee").FoldMode;
var Mode = function() {
this.HighlightRules = PascalHighlightRules;
this.foldingRules = new FoldMode();
this.$behaviour = this.$defaultBehaviour;
};
oop.inherits(Mode, TextMode);