rem: indentation = indentString(g50spaces.substring(0, firstPosVirtual)); 
add: indentation = indentString(firstPosVirtual); 
context: function keepIndentation(line){    var currentLine = line - 1;    if (currentLine < 0)        return -1;    var indentation = -1;    var firstPosVirtual;    var lineDelimiter = gLineDelimiter;    // search non-empty line, then return leading white spaces    while (currentLine >= 0 && lineDelimiter > 0) {        firstPosVirtual = document.firstCharPosVirtual(currentLine);        if (firstPosVirtual != -1) {            indentation = indentString(g50spaces.substring(0, firstPosVirtual));            break;        }        --currentLine;        --lineDelimiter;    }    if (indentation != -1) debug("keepIndentation: success");    return indentation;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/7cad0c927379ef77bee60890e6b74abb2b5075dd/script-indent-c-test.js/buggy/kate/scripts/script-indent-c-test.js