diff -r a163fbbf2bea -r db5a520f69d3 QScintilla/EditorButtonsWidget.py --- a/QScintilla/EditorButtonsWidget.py Tue Jan 10 19:15:17 2017 +0100 +++ b/QScintilla/EditorButtonsWidget.py Tue Jan 10 19:23:25 2017 +0100 @@ -340,7 +340,9 @@ if self.__provider: self.__buttons["quote"].setEnabled( self.__provider.hasQuote() and ( - self.__provider.kind() == "html" or hasSelection)) + self.__provider.kind() == "html" or hasSelection + ) + ) self.__buttons["hyperlink"].setEnabled( self.__provider.hasHyperlink() and not hasSelection) self.__buttons["line"].setEnabled(