diff options
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,9 @@ Lex.prototype.fill = function(fg, bg){ Lex.prototype.eq = function(lex){ return lex && this.fg == lex.fg && this.bg == lex.bg && this.char == lex.char } +Lex.prototype.eqColor = function(lex){ + return lex && this.fg == lex.fg && this.bg == lex.bg +} Lex.prototype.ne = function(lex){ return ! this.eq(lex) } |
