#NEWLINE# def cursorPosition( self ) : #NEWLINE# #INDENT# cursor = self . text . textCursor ( ) #NEWLINE# line = ( cursor . blockNumber ( ) + 1 ) #NEWLINE# col = cursor . columnNumber ( ) #NEWLINE# self . statusbar . showMessage ( 'Line: {} | Column: {}' . format ( line , cursor ) )