Closebrackets addon included

Auto adds closing brackets etc for pairs - ()[]{}''""
This commit is contained in:
Matt Pass
2014-06-18 16:49:02 +01:00
parent f71a16552e
commit d5b6355261
2 changed files with 15 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@@ -15,8 +15,8 @@ include("lib/settings.php");
<!--
codemirror-compressed.js
incls: codemirror
modes: clike, coffeescript, css, erlang, go, htmlmixed, javascript, julia, lua, markdown, perl, php, python, ruby, rust, sass, sql & xml, yaml
addon: brace-fold, closetag, css-hint, html-hint, javascript-hint, javascript-lint, lint, match-highlighter, searchcursor, show-hint, sql-hint, trailingspace, xml-fold, xml-hint
modes: clike, coffeescript, css, erlang, go, htmlmixed, javascript, julia, lua, markdown, perl, php, python, ruby, rust, sass, sql, xml, yaml
addon: brace-fold, closebrackets, closetag, css-hint, html-hint, javascript-hint, javascript-lint, lint, match-highlighter, searchcursor, show-hint, sql-hint, trailingspace, xml-fold, xml-hint
//-->
<script src="<?php echo $ICEcoder["codeMirrorDir"]; ?>/lib/codemirror-compressed.js"></script>
<script src="jshint/jshint-2.1.4.min.js"></script>
@@ -172,6 +172,7 @@ function createNewCMInstance(num) {
tabSize: top.ICEcoder.indentSize,
electricChars: false,
autoCloseTags: true,
autoCloseBrackets: true,
highlightSelectionMatches: true,
showTrailingSpace: true,
lintWith: <?php if ($ICEcoder['codeAssist']) {echo 'fileName && fileName.indexOf(".js")>-1 ? CodeMirror.javascriptValidator : ';};?>false,