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:
7
vendor/assets/javascripts/ace/mode-tcl.js
vendored
7
vendor/assets/javascripts/ace/mode-tcl.js
vendored
@@ -19,8 +19,8 @@ oop.inherits(FoldMode, BaseFoldMode);
|
||||
|
||||
(function() {
|
||||
|
||||
this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
|
||||
this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
|
||||
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
||||
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
||||
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
||||
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
||||
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
||||
@@ -161,7 +161,7 @@ var TclHighlightRules = function() {
|
||||
next : "splitlineStart"
|
||||
}, {
|
||||
token : "text",
|
||||
regex : '[\\\\](?:["]|[{]|[}]|[[]|[]]|[$]|[\])'
|
||||
regex : /\\(?:["{}\[\]$\\])/
|
||||
}, {
|
||||
token : "text", // last value before command
|
||||
regex : '^|[^{][;][^}]|[/\r/]',
|
||||
@@ -333,6 +333,7 @@ var Mode = function() {
|
||||
this.HighlightRules = TclHighlightRules;
|
||||
this.$outdent = new MatchingBraceOutdent();
|
||||
this.foldingRules = new CStyleFoldMode();
|
||||
this.$behaviour = this.$defaultBehaviour;
|
||||
};
|
||||
oop.inherits(Mode, TextMode);
|
||||
|
||||
|
Reference in New Issue
Block a user