mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-01 02:06:18 +00:00
05e6be051c
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
17 lines
348 B
JavaScript
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";
|
|
|
|
});
|