mediawiki-extensions-CodeEd.../modules/ace/snippets/diff.js
Derk-Jan Hartman 05e6be051c CodeEditor: Update to package 12.02.2013 (December 2013)
ACE defaults to a white background now. I have no preference in
this, but it is caused by a change in the TextMate theme. There is a
bugreport (Bug 55423) about the old blue background.

This fixes an annoying problem with Safari 7, where characters are no
longer properly measured by ACE.
https://github.com/ajaxorg/ace/issues/1534

Fixes double-click to select:
https://github.com/ajaxorg/ace/issues/956

Set proper basePath so that require works, allowing conditional loading
of ACE resources. Need for Find to work after this update

Bug: 55423
Bug: 45876
Bug: 58521
Change-Id: Ia64b67b4553f77c6ba3d2aefec4bab62d111deb7
2014-01-02 11:11:32 +01:00

19 lines
608 B
JavaScript

define('ace/snippets/diff', ['require', 'exports', 'module' ], function(require, exports, module) {
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";
});