#NEWLINE# def strike( self ) : #NEWLINE# #INDENT# fmt = self . text . currentCharFormat ( ) #NEWLINE# fmt . setFontStrikeOut ( ( not fmt . fontStrikeOut ( ) ) ) #NEWLINE# self . text . setCurrentCharFormat ( fmt )