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:
@@ -163,7 +163,7 @@ var ApacheConfHighlightRules = function() {
|
||||
'string.flag.apacheconf',
|
||||
'punctuation.definition.flag.apacheconf',
|
||||
'text' ],
|
||||
regex: '(\\s)(\\[)(.*?)(\\])(\\s)' } ] }
|
||||
regex: '(\\s)(\\[)(.*?)(\\])(\\s)' } ] };
|
||||
|
||||
this.normalizeRules();
|
||||
};
|
||||
@@ -184,7 +184,7 @@ ApacheConfHighlightRules.metaData = { fileTypes:
|
||||
'.htpasswd',
|
||||
'.HTPASSWD' ],
|
||||
name: 'Apache Conf',
|
||||
scopeName: 'source.apacheconf' }
|
||||
scopeName: 'source.apacheconf' };
|
||||
|
||||
|
||||
oop.inherits(ApacheConfHighlightRules, TextHighlightRules);
|
||||
@@ -213,8 +213,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/;
|
||||
@@ -343,6 +343,7 @@ var FoldMode = require("./folding/cstyle").FoldMode;
|
||||
var Mode = function() {
|
||||
this.HighlightRules = ApacheConfHighlightRules;
|
||||
this.foldingRules = new FoldMode();
|
||||
this.$behaviour = this.$defaultBehaviour;
|
||||
};
|
||||
oop.inherits(Mode, TextMode);
|
||||
|
||||
|
Reference in New Issue
Block a user