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

def table::editor::control_arrow_right (   self  ) 

Process Control + Arrow Right Key Event.
Update cursor data when move caret to string right

Definition at line 407 of file table.py.

00407                                   :
        '''Process Control + Arrow Right Key Event.
        Update cursor data when move caret to string 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] = 1
                    else:
                        self._cursor[0] += 1
                else:
                    self._cursor[0] += 1
                    self._cursor[1] = 0
                self.update_candidates ()
            return True
        else:
            return False
    def ap_candidate (self, candi):


Generated by  Doxygen 1.6.0   Back to index