forked from Wavyzz/dolibarr
Upgrade ACE Editor from 1.4.7 to 1.4.14
This commit is contained in:
@@ -44,7 +44,7 @@ var PuppetHighlightRules = function () {
|
||||
},
|
||||
{
|
||||
token: "multiline.comment.begin.puppet",
|
||||
regex: '^\\s*\\/\\*\\s*$',
|
||||
regex: '^\\s*\\/\\*',
|
||||
push: "blockComment"
|
||||
},
|
||||
{
|
||||
@@ -82,11 +82,7 @@ var PuppetHighlightRules = function () {
|
||||
}
|
||||
],
|
||||
blockComment: [{
|
||||
regex: "^\\s*\\/\\*\\s*$",
|
||||
token: "multiline.comment.begin.puppet",
|
||||
push: "blockComment"
|
||||
}, {
|
||||
regex: "^\\s*\\*\\/\\s*$",
|
||||
regex: "\\*\\/",
|
||||
token: "multiline.comment.end.puppet",
|
||||
next: "pop"
|
||||
}, {
|
||||
@@ -355,6 +351,9 @@ oop.inherits(Mode, TextMode);
|
||||
|
||||
|
||||
(function () {
|
||||
this.lineCommentStart = "#";
|
||||
this.blockComment = {start: "/*", end: "*/"};
|
||||
|
||||
this.$id = "ace/mode/puppet";
|
||||
}).call(Mode.prototype);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user