diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index 55b2e2f..16463a5 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -1009,6 +1009,9 @@ var ICEcoder = { // Update Git diff pane (the diffs between saved content and git commits) updateGitDiffPane: function() { let gitDiffList = ""; + get("toolLinkGit").className = 0 < this.indexData.gitDiff.paths.length + ? "highlight info" + : ""; for (let i = 0; iSyntax error in ' + this.openFiles[this.selectedTab - 1].replace(iceRoot, "") + '\n' + err.message); + } } setTimeout(function() { // If we're not 'saving as', establish changes between current and known saved version from array @@ -3468,7 +3476,7 @@ var ICEcoder = { // Show the plugins manager pluginsManager: function() { - get('mediaContainer').innerHTML = ''; + get('mediaContainer').innerHTML = ''; this.showHide('show',get('blackMask')); }, @@ -4615,26 +4623,8 @@ var ICEcoder = { // CTRL + . (Fold/unfold current line) } else if(key==190 && (evt.ctrlKey||this.cmdKey)) { - - - - - - - - - - - // TODO: doesn't seem to be working - - - - - - - - var line = this.getThisCM().getCursor().line; - + thisCM = this.getThisCM(); + thisCM.foldCode(thisCM.getCursor()); return false; // ESC in content area (Comment/Uncomment line)