rem: matches[0] = this.users[matches[0]].properNick; if (wordStart == 0) matches[0] += client.ADDRESSED_NICK_SEP;  if (wordEnd == line.length) { /* add a space if the word is at the end of the line. */ matches[0] += " "; } 
add: matches[0] = client.COMMAND_CHAR + matches[0] + " "; } else { for (var i in matches) matches[i] = client.COMMAND_CHAR + matches[i]; 
context: function gettabmatch_usr (line, wordStart, wordEnd, word, cursorpos){    if (wordStart == 0 && line[0] == client.COMMAND_CHAR)        return client.performTabMatch (line, wordStart, wordEnd, word,                                       cursorpos);        if (!("users" in this))        return [];        var users = this.users;    var nicks = new Array();            for (var n in users)        nicks.push (users[n].nick);            var matches = matchEntry (word, nicks);    if (matches.length == 1)    {        matches[0] = this.users[matches[0]].properNick;        if (wordStart == 0)            matches[0] += client.ADDRESSED_NICK_SEP;        if (wordEnd == line.length)        {            /* add a space if the word is at the end of the line. */            matches[0] += " ";        }    }    return matches;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7488e28c59de8516f57a041d197a80a62240072b/static.js/buggy/extensions/irc/xul/content/static.js