Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable add background-color support to diff lexer

Changeset 1d0927b51fff

Parent b63abad2cd20

by Josiah Reynolds

Changes to one file · Browse files at 1d0927b51fff Showing diff from parent b63abad2cd20 Diff from another changeset...

 
146
147
148
 
 
 
149
150
151
 
146
147
148
149
150
151
152
153
154
@@ -146,6 +146,9 @@
  for e in effect.split(';'):   if e.startswith('color:'):   lexer.setColor(QColor(e[7:]), i) + if e.startswith('background-color:'): + lexer.setEolFill(True, i) + lexer.setPaper(QColor(e[18:]), i)   font = qtlib.getfont('fontdiff').font()   lexer.setFont(font, -1)   return lexer