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

def table::editor::auto_commit_to_preedit (   self  ) 

Add select phrase in lookup table to preedit string

Definition at line 601 of file table.py.

00601                                      :
        '''Add select phrase in lookup table to preedit string'''
        if not self._py_mode:
            _p_index = self.get_index('phrase')
        else:
            _p_index = 8
        try:
            self._u_chars.append( self._chars[0][:] )
            self._strings.insert(self._cursor[0], self._candidates[0][ self.get_cursor_pos() ][_p_index])
            self._cursor [0] += 1
            self.clear_input()
            self.update_candidates ()
        except:
            pass

    def get_aux_strings (self):


Generated by  Doxygen 1.6.0   Back to index