2
0
forked from Wavyzz/dolibarr

Upgrade ACE Editor from 1.4.7 to 1.4.14

This commit is contained in:
Laurent Destailleur
2022-04-03 12:56:07 +02:00
parent d514d72ac5
commit 564382ec6c
303 changed files with 26642 additions and 17750 deletions

View File

@@ -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);