mediawiki-extensions-CodeEd.../modules/ace/snippets/snippets.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

17 lines
348 B
JavaScript

define('ace/snippets/snippets', ['require', 'exports', 'module' ], function(require, exports, module) {
exports.snippetText = "# snippets for making snippets :)\n\
snippet snip\n\
snippet ${1:trigger}\n\
${2}\n\
snippet msnip\n\
snippet ${1:trigger} ${2:description}\n\
${3}\n\
snippet v\n\
{VISUAL}\n\
";
exports.scope = "snippets";
});