Permalink
Browse files

Add a space when completing operators

  • Loading branch information...
1 parent 8b0bdf8 commit bcbaca9abb0429286cb7a4d267fd9fa681558ee0 @simonlindholm committed Oct 17, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 extension/content/firebug/console/autoCompleter.js
@@ -604,6 +604,11 @@ Firebug.JSAutoCompleter = function(textBox, completionBox, options)
}
res += '["' + Str.escapeJS(property) + '"]';
}
+ else if (this.completions.list[this.completions.index].operator)
+ {
+ // Add a space after operators.
+ res += " ";
+ }
return res;
};

0 comments on commit bcbaca9

Please sign in to comment.