Closed deathaxe closed 7 years ago
While debugging #144 I found the following possible (small) improvements for the event SyntaxTestHighlighterListener.
self.header
__init__()
__del__()
Unfortunatey an interactive rebase flattened the merge, but this has been merged as a757851d49e4c9af45e6088eeeb9ca1f5d00d241.
While debugging #144 I found the following possible (small) improvements for the event SyntaxTestHighlighterListener.
self.header
is an object attribute and should be therefore declared in__init__()
self.header
is queried first in__del__()
to avoid reading settings, if we are not within a syntaxtest...