rem: if (!document.isSpace(line, document.firstColumn(line) + 1)) document.insertText(line, document.firstColumn(line) + 1, ' '); 
add: if (!document.isSpace(line, document.firstColumn(line) + 1)) document.insertText(line, document.firstColumn(line) + 1, ' '); } 
context: function tryCComment(line){    var currentLine = document.prevNonEmptyLine(line - 1);    if (currentLine < 0)        return -1;    var indentation = -1;    // we found a */, search the opening /* and return its indentation level    if (document.endsWith(currentLine, "*/", true)) {        var cursor = document.findStartOfCComment(currentLine, document.lastColumn(currentLine));        if (cursor && cursor.column == document.firstColumn(cursor.line))            indentation = document.firstVirtualColumn(cursor.line);        if (indentation != -1) debug("tryCComment: success (1) in line " + cursor.line);        return indentation;    }    // inbetween was an empty line, so do not copy the "*" character    if (currentLine != line - 1)        return -1;    var firstPos = document.firstColumn(currentLine);    var lastPos = document.lastColumn(currentLine);    var char1 = document.charAt(currentLine, firstPos);    var char2 = document.charAt(currentLine, firstPos + 1);    if (char1 == '/' && char2 == '*') {        indentation = document.firstVirtualColumn(currentLine) + 1;        // only add '*', if there is none yet.        if (document.firstChar(line) != '*')            document.insertText(line, view.cursorPosition().column, '*');        if (!document.isSpace(line, document.firstColumn(line) + 1))            document.insertText(line, document.firstColumn(line) + 1, ' ');    } else if (char1 == '*' && (firstPos == lastPos || document.isSpace(currentLine, firstPos + 1))) {        var currentString = document.line(currentLine);        currentString.search(/^\s*\*(\s*)/);        // in theory, we could search for opening /*, and use its indentation        // and then one alignment character. Let's not do this for now, though.        var end = RegExp.$1;        indentation = document.firstVirtualColumn(currentLine);        // only add '*', if there is none yet.        if (document.firstChar(line) != '*')            document.insertText(line, view.cursorPosition().column, '*');        if (!document.isSpace(line, document.firstColumn(line) + 1))            document.insertText(line, document.firstColumn(line) + 1, ' ');    }    if (indentation != -1) debug("tryCComment: success (2) in line " + currentLine);    return indentation;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/fb0f84da8facb3452b4b781e42ce07236201ef96/c.js/clean/kate/indent/c.js