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:
5
vendor/assets/javascripts/ace/mode-pascal.js
vendored
5
vendor/assets/javascripts/ace/mode-pascal.js
vendored
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user