Logo Search packages:      
Sourcecode: ibus-table version File versions  Download package

def table::editor::control_arrow_left (   self  ) 

Process Control + Arrow Left Key Event.
Update cursor data when move caret to string left

Definition at line 390 of file table.py.

00390                                  :
        '''Process Control + Arrow Left Key Event.
        Update cursor data when move caret to string left'''
        if self.get_preedit_strings ():
            if not( self.get_input_chars () or self._u_chars ):
                if self._cursor[1] == 0:
                    if self._cursor[0] == 0:
                        self._cursor[0] = len (self._strings) - 1
                    else:
                        self._cursor[0] -= 1
                else:
                    self._cursor[1] = 0
                self.update_candidates ()
            return True
        else:
            return False
    
    def control_arrow_right (self):


Generated by  Doxygen 1.6.0   Back to index