Changeset 1415fa895056…
Parent e95a4b3b7940…
by
Changes to one file · Browse files at 1415fa895056 Showing diff from parent e95a4b3b7940 Diff from another changeset...
@@ -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?
|
Loading...