def update_cursor_position ( self , line , index ) : value = 'Line {}, Col {}' . format ( line + 1 , index + 1 ) self . set_value ( value )
how to set cursonrposition in python
Update cursor position .
def update_cursor_position(self, line, index):
        """Update cursor position."""
        value = 'Line {}, Col {}'.format(line + 1, index + 1)
        self.set_value(value)