diff --git a/assets/css/editor.css b/assets/css/editor.css index 09e3191..8c20390 100644 --- a/assets/css/editor.css +++ b/assets/css/editor.css @@ -12,4 +12,4 @@ .diffNone {background: ''; color: ''} .resultsBar {position: absolute; display: none; width: 12px; height: 100%; top: 0; right: 0; overflow: hidden; pointer-events: none; z-index: 2} -.resultsBar .rBlock {position: absolute; display: block; width: 12px; background: rgba(128,128,128,0.3)} \ No newline at end of file +.resultsBar .rBlock {position: absolute; display: block; width: 12px; background: rgba(128,128,128,0.3)} diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index e782e2b..4c224b6 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -2850,7 +2850,7 @@ var ICEcoder = { for (let char of input) { // Find index of this char in brackets string let bracketsIndex = brackets.indexOf(char) - + // Not one of the bracket chars, continue to next char if (bracketsIndex === -1) { remainder += char; @@ -2904,6 +2904,7 @@ var ICEcoder = { // Considers selecting next on value input, according to user setting ICEcoder.findReplace(get('find').value, true === ICEcoder.selectNextOnFindInput, false, false); get("find").focus(); + // Reset results display } else { ICEcoder.findReplace(get('find').value, false, false, false); }