Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

hgemail: provide a ui instance to lexer search

Changeset 1415fa895056

Parent e95a4b3b7940

by Steve Borho

Changes to one file · Browse files at 1415fa895056 Showing diff from parent e95a4b3b7940 Diff from another changeset...

 
260
261
262
263
 
264
265
266
 
260
261
262
 
263
264
265
266
@@ -260,7 +260,7 @@
  w.setUtf8(True)   w.setReadOnly(True)   w.setMarginWidth(1, 0) # hide area for line numbers - lex = lexers.DiffLexerSelector().lexer() + lex = lexers.DiffLexerSelector().lexer(self._ui)   fh = qtlib.getfont(self._ui, 'fontdiff')   fh.changed.connect(lambda f: lex.setFont(f))   # TODO: why cannot we connect directly, without lambda?