Esempio n. 1
0
    def focusNextPrevChild(self, next):
        """
        Reimplemented to stop Tab moving to the next window.
        
        While the user is entering a multi-line command, the movement to
        the next window by the Tab key being pressed is suppressed.
        
        @param next next window
        @return flag indicating the movement
        """
        if next and self.more:
            return False

        return QsciScintilla.focusNextPrevChild(self, next)
Esempio n. 2
0
 def focusNextPrevChild(self, next):
     """
     Reimplemented to stop Tab moving to the next window.
     
     While the user is entering a multi-line command, the movement to
     the next window by the Tab key being pressed is suppressed.
     
     @param next next window
     @return flag indicating the movement
     """
     if next and self.more:
         return False
 
     return QsciScintilla.focusNextPrevChild(self,next)