From 01b035d7afda97b6ab534302382a56830e4899d3 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 13 Dec 2012 08:56:53 +0000 Subject: [PATCH] Clear or set JS Hints based on codeAssist On toggle of codeAssist and being false, clear all JS Hint widgets in all tabs If turned on though, set in current tab Run updateHints on switching tab (helps complete above step) --- lib/ice-coder.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 5a8b808..b6f96d5 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1211,6 +1211,21 @@ var ICEcoder = { top.ICEcoder.codeAssist = !top.ICEcoder.codeAssist; top.ICEcoder.cssColorPreview(); cM.focus(); + + if (!top.ICEcoder.codeAssist) { + for (i=0;i