Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable annotate: assign "fontlog" to fileview when no lexer is matched (refs #348)

Changeset 52cad031e1bc

Parent d089aa15c3b5

by Steve Borho

Changes to one file · Browse files at 52cad031e1bc Showing diff from parent d089aa15c3b5 Diff from another changeset...

 
242
243
244
 
 
245
246
247
 
242
243
244
245
246
247
248
249
@@ -242,6 +242,8 @@
  """Update the lexer according to the given file"""   lex = lexers.get_lexer(fctx.path(), hglib.tounicode(fctx.data()), self)   self.setLexer(lex) + if lex is None: + self.setFont(qtlib.getfont('fontlog').font())     def _updaterevmargin(self):   """Update the content of margin area showing revisions"""