We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09f5963 commit b64a026Copy full SHA for b64a026
scc_annotate.js
@@ -11,7 +11,7 @@
11
*
12
* @source https://github.com/Komodo/macros
13
* @author Todd Whiteman
14
- * @version 0.2
+ * @version 0.3
15
*/
16
17
// Scintilla margin parameters.
@@ -93,6 +93,11 @@ var FetchAnnotationLines = function(koFileEx) {
93
getService(Components.interfaces.koISCC);
94
var scc_executable = sccSvc.executable || sccSvc.name;
95
var filename = koFileEx.leafName;
96
+ // Double quote the paths on Windows.
97
+ if (navigator.platform.startsWith("Win")) {
98
+ scc_executable = '"' + scc_executable + '"';
99
+ filename = '"' + filename + '"';
100
+ }
101
var cmd = scc_executable + ' annotate ' + filename;
102
var runSvc = Components.classes["@activestate.com/koRunService;1"].
103
getService(Components.interfaces.koIRunService);
0 commit comments