From 110a342bb17aba027989efb09109d6877bc50848 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 10 Jul 2013 17:32:32 +0100 Subject: [PATCH] Style tweaks & lint obeys codeAssist setting solarized and xq-light themes should have lighter active line foldOff should be a white block with very low alpha, so it looks good on themes with a light gutter We should only JS lint if we have codeAssist on (and it's a JS file) --- editor.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/editor.php b/editor.php index b5f1204..e1fdfa4 100644 --- a/editor.php +++ b/editor.php @@ -25,7 +25,7 @@ if (file_exists(dirname(__FILE__)."/plugins/emmet/emmet.min.js")) { };?> "> - @@ -174,7 +173,7 @@ function createNewCMInstance(num) { autoCloseTags: true, highlightSelectionMatches: true, showTrailingSpace: true, - lintWith: fileName && fileName.indexOf(".js")>-1 ? CodeMirror.javascriptValidator : false, + lintWith: -1 ? CodeMirror.javascriptValidator : ';};?>false, keyMap: "ICEcoder", onKeyEvent: function(thisCM, e) { top.ICEcoder.redoChangedContent(e);