2
0
forked from Wavyzz/dolibarr

NEW Introduce code syntax coloration with mode 'ace' for DolEditor.

This commit is contained in:
Laurent Destailleur
2017-07-18 03:18:16 +02:00
parent ae7f2ac253
commit 98ef978b2a
403 changed files with 274584 additions and 2967 deletions

View File

@@ -0,0 +1,18 @@
ace.define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
snippet header DEP-3 style header\n\
Description: ${1}\n\
Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
Bug: ${4:url in upstream bugtracker}\n\
Forwarded: ${5:no|not-needed|url}\n\
Author: ${6:`g:snips_author`}\n\
Reviewed-by: ${7:name and email}\n\
Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
Applied-Upstream: ${9:upstream version|url|commit}\n\
\n\
";
exports.scope = "diff";
});