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:
6
vendor/assets/javascripts/ace/mode-ocaml.js
vendored
6
vendor/assets/javascripts/ace/mode-ocaml.js
vendored
@ -279,12 +279,11 @@ var OcamlHighlightRules = function() {
|
||||
"comment" : [
|
||||
{
|
||||
token : "comment", // closing comment
|
||||
regex : ".*?\\*\\)",
|
||||
regex : "\\*\\)",
|
||||
next : "start"
|
||||
},
|
||||
{
|
||||
token : "comment", // comment spanning whole line
|
||||
regex : ".+"
|
||||
defaultToken : "comment"
|
||||
}
|
||||
],
|
||||
|
||||
@ -357,6 +356,7 @@ var Range = require("../range").Range;
|
||||
|
||||
var Mode = function() {
|
||||
this.HighlightRules = OcamlHighlightRules;
|
||||
this.$behaviour = this.$defaultBehaviour;
|
||||
|
||||
this.$outdent = new MatchingBraceOutdent();
|
||||
};
|
||||
|
Reference in New Issue
Block a user