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:
@ -36,6 +36,13 @@ var keywords = "always|and|assign|automatic|begin|buf|bufif0|bufif1|case|casex|c
|
||||
"start" : [ {
|
||||
token : "comment",
|
||||
regex : "//.*$"
|
||||
}, {
|
||||
token : "comment.start",
|
||||
regex : "/\\*",
|
||||
next : [
|
||||
{ token : "comment.end", regex : "\\*/", next: "start" },
|
||||
{ defaultToken : "comment" }
|
||||
]
|
||||
}, {
|
||||
token : "string", // " string
|
||||
regex : '".*?"'
|
||||
@ -62,6 +69,7 @@ var keywords = "always|and|assign|automatic|begin|buf|bufif0|bufif1|case|casex|c
|
||||
regex : "\\s+"
|
||||
} ]
|
||||
};
|
||||
this.normalizeRules();
|
||||
};
|
||||
|
||||
oop.inherits(VerilogHighlightRules, TextHighlightRules);
|
||||
@ -79,6 +87,7 @@ var Range = require("../range").Range;
|
||||
|
||||
var Mode = function() {
|
||||
this.HighlightRules = VerilogHighlightRules;
|
||||
this.$behaviour = this.$defaultBehaviour;
|
||||
};
|
||||
oop.inherits(Mode, TextMode);
|
||||
|
||||
|
Reference in New Issue
Block a user