Delete some commented (obsolete) code.

Wed, 31 Mar 2010 12:03:43 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 31 Mar 2010 12:03:43 +0000
changeset 163
8f0630371845
parent 162
28f235c426c4
child 164
b395b006d2a8

Delete some commented (obsolete) code.

Cooperation/ChatWidget.py file | annotate | diff | comparison | revisions
QScintilla/Editor.py file | annotate | diff | comparison | revisions
QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
--- a/Cooperation/ChatWidget.py	Wed Mar 31 11:59:53 2010 +0000
+++ b/Cooperation/ChatWidget.py	Wed Mar 31 12:03:43 2010 +0000
@@ -115,7 +115,6 @@
         if port == -1:
             port = Preferences.getCooperation("ServerPort")
         
-##        self.portSpin.setValue(port)
         self.serverPortSpin.setValue(port)
         
         self.__setConnected(False)
@@ -256,19 +255,6 @@
         if not self.__connected:
             self.connectButton.setEnabled(host != "")
     
-##    @pyqtSlot(int)
-##    def on_hostEdit_currentIndexChanged(self, index):
-##        """
-##        Private slot to handle the selection of a host.
-##        
-##        @param index index of the selected entry (integer)
-##        """
-##        port = self.hostEdit.itemData(index)
-##        if port is not None:
-##            if port == -1:
-##                self.portSpin.setValue(Preferences.getCooperation("ServerPort"))
-##            else:
-##                self.portSpin.setValue(port)
     def __getConnectionParameters(self):
         """
         Private method to determine the connection parameters.
@@ -348,7 +334,6 @@
             self.shareButton.click()
         self.__connected = connected
         self.hostEdit.setEnabled(not connected)
-##        self.portSpin.setEnabled(not connected)
         self.serverButton.setEnabled(not connected)
         self.sharingGroup.setEnabled(connected)
         
--- a/QScintilla/Editor.py	Wed Mar 31 11:59:53 2010 +0000
+++ b/QScintilla/Editor.py	Wed Mar 31 12:03:43 2010 +0000
@@ -1368,9 +1368,6 @@
         # now set the lexer properties
         self.lexer_.initProperties()
         
-##        # initialize the auto indent style of the lexer
-##        ais = self.lexer_.autoIndentStyle()
-##        
         # initialize the lexer APIs settings
         api = self.vm.getAPIsManager().getAPIs(self.apiLanguage)
         if api is not None:
@@ -3111,9 +3108,6 @@
         if self.lexer_ is not None:
             self.lexer_.readSettings(Preferences.Prefs.settings, "Scintilla")
             self.lexer_.initProperties()
-##            
-##            # initialize the auto indent style of the lexer
-##            ais = self.lexer_.autoIndentStyle()
         
         # read the typing completer settings
         if self.completer is not None:
--- a/QScintilla/MiniEditor.py	Wed Mar 31 11:59:53 2010 +0000
+++ b/QScintilla/MiniEditor.py	Wed Mar 31 12:03:43 2010 +0000
@@ -2075,9 +2075,6 @@
         
         # now set the lexer properties
         self.lexer_.initProperties()
-##        
-##        # initialize the auto indent style of the lexer
-##        ais = self.lexer_.autoIndentStyle()
         
     def __styleNeeded(self, position):
         """

eric ide

mercurial