#NEWLINE# def update_cursor( self , * args , **kwargs ) : #NEWLINE# #INDENT# def callback( args ) : #NEWLINE# #INDENT# ( buf , lnum , col , off ) = [ int ( a ) for a in args . split ( ' ' ) ] #NEWLINE# with Edit ( self . view ) as edit : #NEWLINE# #INDENT# edit . reselect ( off ) #NEWLINE# #UNINDENT# #UNINDENT# self . socket . get_cursor ( callback )