rem: _currentString.search(/^(\s*)[*](\s*)/); 
add: _currentString.search(/^(\s*)\*(\s*)/); 
context: function tryCComment(_line){    var _currentLine = _line - 1;    if (_currentLine < 0)        return -1;    var _currentString = document.line(_currentLine);    var _lastPos = document.lastChar(_currentLine);    var _indentation = -1;    var _notInCComment = false;    if (_lastPos == -1) {        var _lineDelimiter = gLineDelimiter;        // empty line: now do the following        // 1. search for non-empty line        // 2. then break and continue with the check for "*/"        _notInCComment = true;        // search non-empty line, then return leading white spaces        while (_currentLine >= 0 && _lineDelimiter > 0) {            _lastPos = document.lastChar(_currentLine);            if (_lastPos != -1) {                break;            }            --_currentLine;            --_lineDelimiter;        }        _currentString = document.line(_currentLine);    }    // we found a */, search the opening /* and return its indentation level    if (_currentString.charAt(_lastPos) == "/"        && _currentString.charAt(_lastPos - 1) == "*")    {        var _startOfComment;        var _lineDelimiter = gLineDelimiter;        while (_currentLine >= 0 && _lineDelimiter > 0) {            _currentString = document.line(_currentLine);            _startOfComment = _currentString.indexOf("/*");            if (_startOfComment != -1) {                _indentation = _currentString.substring(0, document.firstChar(_currentLine));                break;            }            --_currentLine;            --_lineDelimiter;        }        return indentString(_indentation);    }    // there previously was an empty line, in this case we honor the circumstances    if (_notInCComment)        return -1;    var _firstPos = firstNonSpace(_currentString);    var _char1 = _currentString.charAt(_firstPos);    var _char2 = _currentString.charAt(_firstPos + 1);    var _endOfComment = _currentString.indexOf("*/");    if (_char1 == "/" && _char2 == "*") {        _currentString.search(/^(\s*)/);        _indentation = indentString(RegExp.$1);        _indentation += " * ";    } else if (_char1 == "*" && (_char2 == "" || _char2 == ' ' || _char2 == '\t')) {        _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.$2;        _indentation = indentString(RegExp.$1) + "*" + end;        if (_indentation.charAt(_indentation.length - 1) == '*')            _indentation += " ";    }    return _indentation;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/586feb8802241d7482fe41056acda8c08aa9009b/script-indent-c-test.js/buggy/kate/scripts/script-indent-c-test.js