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

def table::editor::arrow_right (   self  ) 

Process Arrow Right Key Event.
Update cursor data when move caret right

Definition at line 370 of file table.py.

00370                           :
        '''Process Arrow Right Key Event.
        Update cursor data when move caret right'''
        if self.get_preedit_strings ():
            if not( self.get_input_chars () or self._u_chars ):
                if self._cursor[1] == 0:
                    if self._cursor[0] == len (self._strings):
                        self._cursor[0] = 0
                    else:
                        self._cursor[1] += 1
                else:
                    self._cursor[1] += 1
                if self._cursor[1] == len(self._strings[ self._cursor[0] ]):
                    self._cursor[0] += 1
                    self._cursor[1] = 0
                self.update_candidates ()
            return True
        else:
            return False

    def control_arrow_left (self):


Generated by  Doxygen 1.6.0   Back to index