about summary refs log tree commit diff
path: root/doc/lib/codemirror-node.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lib/codemirror-node.js')
-rw-r--r--doc/lib/codemirror-node.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lib/codemirror-node.js b/doc/lib/codemirror-node.js
index fac4c076d48..428ff2e576c 100644
--- a/doc/lib/codemirror-node.js
+++ b/doc/lib/codemirror-node.js
@@ -11,6 +11,7 @@ exports.splitLines = function(string){return string.split(/\r?\n/);};
 // Counts the column offset in a string, taking tabs into account.
 // Used mostly to find indentation.
 function countColumn(string, end) {
+  tabSize = 4;
   if (end == null) {
     end = string.search(/[^\s\u00a0]/);
     if (end == -1) end = string.length;