QScintilla/Shell.py

branch
maintenance
changeset 5680
b93cb6353cc0
parent 5633
1a767ca5bbf3
parent 5631
d0beabfaad42
child 5730
6422afc7adc4
diff -r 884cd9c9ce05 -r b93cb6353cc0 QScintilla/Shell.py
--- a/QScintilla/Shell.py	Thu Mar 23 18:58:56 2017 +0100
+++ b/QScintilla/Shell.py	Fri Apr 07 18:33:59 2017 +0200
@@ -1513,20 +1513,20 @@
             idx -= 1
         return idx
         
-    def focusNextPrevChild(self, next):
+    def focusNextPrevChild(self, nextChild):
         """
         Public method 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
+        @param nextChild next window
         @return flag indicating the movement
         """
-        if next and self.inContinue:
+        if nextChild and self.inContinue:
             return False
         
-        return QsciScintillaCompat.focusNextPrevChild(self, next)
+        return QsciScintillaCompat.focusNextPrevChild(self, nextChild)
         
     def contextMenuEvent(self, ev):
         """
@@ -1621,14 +1621,14 @@
             self.__insertText(txt)
             self.completionText = ""
         
-    def __completionListSelected(self, id, txt):
+    def __completionListSelected(self, listId, txt):
         """
         Private slot to handle the selection from the completion list.
         
-        @param id the ID of the user list (should be 1) (integer)
+        @param listId the ID of the user list (should be 1) (integer)
         @param txt the selected text (string)
         """
-        if id == 1:
+        if listId == 1:
             if self.completionText != "":
                 txt = txt.replace(self.completionText, "")
             self.__insertText(txt)

eric ide

mercurial