(self)
Update the displayed list.
Update the displayed list.
Update the displayed list .
def update_current(self):
        """
        Update the displayed list.
        """
        if not self.is_position_correct():
            self.hide()
            return

        current_word = self.textedit.get_current_word(completion=True)
        self.update_list(current_word)
        # self.setFocus()
        # self.raise_()
        self.setCurrentRow(0)
def update_current ( self ) : if not self . is_position_correct ( ) : self . hide ( ) return current_word = self . textedit . get_current_word ( completion = True ) self . update_list ( current_word ) # self.setFocus() # self.raise_() self . setCurrentRow ( 0 )