Skip to content
Snippets Groups Projects
Commit 00367fff authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[runmode.node addon] Export countColumn

parent 449eab87
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ function splitLines(string){return string.split(/\r\n?|\n/);};
// Counts the column offset in a string, taking tabs into account.
// Used mostly to find indentation.
var countColumn = function(string, end, tabSize, startIndex, startValue) {
var countColumn = exports.countColumn = function(string, end, tabSize, startIndex, startValue) {
if (end == null) {
end = string.search(/[^\s\u00a0]/);
if (end == -1) end = string.length;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment