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

def table::editor::commit_to_preedit (   self  ) 

Add select phrase in lookup table to preedit string

Definition at line 585 of file table.py.

00585                                 :
        '''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._strings.insert(self._cursor[0], self._candidates[0][ self.get_cursor_pos() ][_p_index])
            self._cursor [0] += 1
            if self._py_mode:
                self._zi = self._candidates[0][ self.get_cursor_pos() ][_p_index]
            self.over_input ()
            self.update_candidates ()
        except:
            pass
    
    def auto_commit_to_preedit (self):


Generated by  Doxygen 1.6.0   Back to index