Continued to shorten the code lines to max. 79 characters.

Sun, 13 Oct 2013 14:56:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 13 Oct 2013 14:56:56 +0200
changeset 3012
d177226027e2
parent 3011
18292228c724
child 3013
fe886b7f8f40

Continued to shorten the code lines to max. 79 characters.

UI/Browser.py file | annotate | diff | comparison | revisions
UI/BrowserModel.py file | annotate | diff | comparison | revisions
UI/CompareDialog.py file | annotate | diff | comparison | revisions
UI/DiffDialog.py file | annotate | diff | comparison | revisions
UI/EmailDialog.py file | annotate | diff | comparison | revisions
UI/ErrorLogDialog.py file | annotate | diff | comparison | revisions
UI/FindFileDialog.py file | annotate | diff | comparison | revisions
UI/FindFileNameDialog.py file | annotate | diff | comparison | revisions
UI/Info.py file | annotate | diff | comparison | revisions
UI/LogView.py file | annotate | diff | comparison | revisions
UI/NotificationWidget.py file | annotate | diff | comparison | revisions
UI/NumbersWidget.py file | annotate | diff | comparison | revisions
UI/Previewer.py file | annotate | diff | comparison | revisions
UI/SearchWidget.py file | annotate | diff | comparison | revisions
UI/SplashScreen.py file | annotate | diff | comparison | revisions
UI/SymbolsWidget.py file | annotate | diff | comparison | revisions
UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/Browser.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/Browser.py	Sun Oct 13 14:56:56 2013 +0200
@@ -11,14 +11,14 @@
 import mimetypes
 
 from PyQt4.QtCore import QModelIndex, pyqtSignal, QUrl, Qt, qVersion
-from PyQt4.QtGui import QTreeView, QDesktopServices, QItemSelectionModel, QApplication, \
-    QMenu, QAbstractItemView
+from PyQt4.QtGui import QTreeView, QDesktopServices, QItemSelectionModel, \
+    QApplication, QMenu, QAbstractItemView
 
 from E5Gui.E5Application import e5App
 from E5Gui import E5FileDialog
 
-from .BrowserModel import BrowserModel, \
-    BrowserDirectoryItem, BrowserFileItem, BrowserClassItem, BrowserMethodItem, \
+from .BrowserModel import BrowserModel, BrowserDirectoryItem, \
+    BrowserFileItem, BrowserClassItem, BrowserMethodItem, \
     BrowserClassAttributeItem
 from .BrowserSortFilterProxyModel import BrowserSortFilterProxyModel
 
@@ -35,11 +35,12 @@
     is displayed by a right click the user can select various actions on
     the selected file.
     
-    @signal sourceFile(str, int = 0, str = "") emitted to open a Python file at a line
+    @signal sourceFile(str, int = 0, str = "") emitted to open a Python file
+        at a line
     @signal designerFile(str) emitted to open a Qt-Designer file
     @signal linguistFile(str) emitted to open a Qt-Linguist (*.ts) file
-    @signal trpreview(list of str, bool = False) emitted to preview a Qt-Linguist
-            (*.qm) file
+    @signal trpreview(list of str, bool = False) emitted to preview a
+        Qt-Linguist (*.qm) file
     @signal projectFile(str) emitted to open an eric4/5 project file
     @signal multiProjectFile(str) emitted to open an eric4/5 multi project file
     @signal pixmapFile(str) emitted to open a pixmap file
@@ -86,38 +87,44 @@
         self.expanded.connect(self._resizeColumns)
         self.collapsed.connect(self._resizeColumns)
         
-        self.setWhatsThis(QApplication.translate('Browser',
+        self.setWhatsThis(QApplication.translate(
+            'Browser',
             """<b>The Browser Window</b>"""
-            """<p>This allows you to easily navigate the hierachy of directories and"""
-            """ files on your system, identify the Python programs and open them up in"""
-            """ a Source Viewer window. The window displays several separate"""
-            """ hierachies.</p>"""
-            """<p>The first hierachy is only shown if you have opened a program for"""
-            """ debugging and its root is the directory containing that program."""
-            """ Usually all of the separate files that make up a Python application are"""
-            """ held in the same directory, so this hierachy gives you easy access to"""
-            """ most of what you will need.</p>"""
-            """<p>The next hierachy is used to easily navigate the directories that are"""
-            """ specified in the Python <tt>sys.path</tt> variable.</p>"""
-            """<p>The remaining hierachies allow you navigate your system as a whole."""
-            """ On a UNIX system there will be a hierachy with <tt>/</tt> at its"""
-            """ root and another with the user home directory."""
-            """ On a Windows system there will be a hierachy for each drive on the"""
+            """<p>This allows you to easily navigate the hierarchy of"""
+            """ directories and files on your system, identify the Python"""
+            """ programs and open them up in a Source Viewer window. The"""
+            """ window displays several separate hierarchies.</p>"""
+            """<p>The first hierarchy is only shown if you have opened a"""
+            """ program for debugging and its root is the directory"""
+            """ containing that program. Usually all of the separate files"""
+            """ that make up a Python application are held in the same"""
+            """ directory, so this hierarchy gives you easy access to most"""
+            """ of what you will need.</p>"""
+            """<p>The next hierarchy is used to easily navigate the"""
+            """ directories that are specified in the Python"""
+            """ <tt>sys.path</tt> variable.</p>"""
+            """<p>The remaining hierarchies allow you navigate your system"""
+            """ as a whole. On a UNIX system there will be a hierarchy with"""
+            """ <tt>/</tt> at its root and another with the user home"""
+            """ directory. On a Windows system there will be a hierarchy for"""
+            """ each drive on the"""
             """ system.</p>"""
-            """<p>Python programs (i.e. those with a <tt>.py</tt> file name suffix)"""
-            """ are identified in the hierachies with a Python icon."""
-            """ The right mouse button will popup a menu which lets you"""
-            """ open the file in a Source Viewer window,"""
-            """ open the file for debugging or use it for a unittest run.</p>"""
-            """<p>The context menu of a class, function or method allows you to open"""
-            """ the file defining this class, function or method and will ensure, that"""
-            """ the correct source line is visible.</p>"""
-            """<p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix)"""
-            """ are shown with a Designer icon. The context menu of these files"""
-            """ allows you to start Qt-Designer with that file.</p>"""
-            """<p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix)"""
-            """ are shown with a Linguist icon. The context menu of these files"""
-            """ allows you to start Qt-Linguist with that file.</p>"""
+            """<p>Python programs (i.e. those with a <tt>.py</tt> file name"""
+            """ suffix) are identified in the hierarchies with a Python"""
+            """ icon. The right mouse button will popup a menu which lets"""
+            """ you open the file in a Source Viewer window, open the file"""
+            """ for debugging or use it for a unittest run.</p>"""
+            """<p>The context menu of a class, function or method allows you"""
+            """ to open the file defining this class, function or method and"""
+            """ will ensure, that the correct source line is visible.</p>"""
+            """<p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file"""
+            """ name suffix) are shown with a Designer icon. The context"""
+            """ menu of these files allows you to start Qt-Designer with"""
+            """ that file.</p>"""
+            """<p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file"""
+            """ name suffix) are shown with a Linguist icon. The context"""
+            """ menu of these files allows you to start Qt-Linguist with"""
+            """ that file.</p>"""
         ))
         
         self.__createPopupMenus()
@@ -183,24 +190,27 @@
         self.sourceMenu.addAction(QApplication.translate('Browser', 'Open'),
             self._openItem)
         self.unittestAct = self.sourceMenu.addAction(
-            QApplication.translate('Browser', 'Run unittest...'), self.handleUnittest)
+            QApplication.translate('Browser', 'Run unittest...'),
+            self.handleUnittest)
         self.sourceMenu.addAction(
             QApplication.translate('Browser', 'Copy Path to Clipboard'),
             self._copyToClipboard)
         
         # create the popup menu for general use
         self.menu = QMenu(self)
-        self.menu.addAction(QApplication.translate('Browser', 'Open'), self._openItem)
-        self.editPixmapAct = \
-            self.menu.addAction(QApplication.translate('Browser', 'Open in Icon Editor'),
+        self.menu.addAction(
+            QApplication.translate('Browser', 'Open'), self._openItem)
+        self.editPixmapAct = self.menu.addAction(
+            QApplication.translate('Browser', 'Open in Icon Editor'),
             self._editPixmap)
         self.menu.addAction(
             QApplication.translate('Browser', 'Copy Path to Clipboard'),
             self._copyToClipboard)
         if self.__embeddedBrowser in [1, 2]:
             self.menu.addSeparator()
-            self.menu.addAction(QApplication.translate('Browser', 'Configure...'),
-                                self.__configure)
+            self.menu.addAction(
+                QApplication.translate('Browser', 'Configure...'),
+                self.__configure)
 
         # create the menu for multiple selected files
         self.multiMenu = QMenu(self)
@@ -208,8 +218,9 @@
             self._openItem)
         if self.__embeddedBrowser in [1, 2]:
             self.multiMenu.addSeparator()
-            self.multiMenu.addAction(QApplication.translate('Browser', 'Configure...'),
-                                     self.__configure)
+            self.multiMenu.addAction(
+                QApplication.translate('Browser', 'Configure...'),
+                self.__configure)
         
         # create the directory menu
         self.dirMenu = QMenu(self)
@@ -238,8 +249,9 @@
             self._copyToClipboard)
         if self.__embeddedBrowser in [1, 2]:
             self.dirMenu.addSeparator()
-            self.dirMenu.addAction(QApplication.translate('Browser', 'Configure...'),
-                                   self.__configure)
+            self.dirMenu.addAction(
+                QApplication.translate('Browser', 'Configure...'),
+                self.__configure)
         
         # create the attribute menu
         self.gotoMenu = QMenu(self.trUtf8("Goto"), self)
@@ -265,15 +277,16 @@
             self.__newToplevelDir)
         if self.__embeddedBrowser in [1, 2]:
             self.backMenu.addSeparator()
-            self.backMenu.addAction(QApplication.translate('Browser', 'Configure...'),
-                                    self.__configure)
+            self.backMenu.addAction(
+                QApplication.translate('Browser', 'Configure...'),
+                self.__configure)
 
     def mouseDoubleClickEvent(self, mouseEvent):
         """
         Protected method of QAbstractItemView.
         
-        Reimplemented to disable expanding/collapsing
-        of items when double-clicking. Instead the double-clicked entry is opened.
+        Reimplemented to disable expanding/collapsing of items when
+        double-clicking. Instead the double-clicked entry is opened.
         
         @param mouseEvent the mouse event (QMouseEvent)
         """
@@ -300,7 +313,8 @@
             if index.isValid():
                 self.setCurrentIndex(index)
                 flags = QItemSelectionModel.SelectionFlags(
-                    QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows)
+                    QItemSelectionModel.ClearAndSelect | 
+                    QItemSelectionModel.Rows)
                 self.selectionModel().select(index, flags)
                 
                 itm = self.model().item(index)
@@ -344,7 +358,8 @@
         fileName = itm.fileName()
         
         for lineno in sorted(linenos):
-            act = self.gotoMenu.addAction(self.trUtf8("Line {0}".format(lineno)))
+            act = self.gotoMenu.addAction(
+                self.trUtf8("Line {0}".format(lineno)))
             act.setData([fileName, lineno])
         
     def _gotoAttribute(self, act):
@@ -380,9 +395,11 @@
                     elif itm.isPython3File():
                         self.sourceFile[str].emit(itm.fileName())
                     elif itm.isRubyFile():
-                        self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby")
+                        self.sourceFile[str, int, str].emit(
+                            itm.fileName(), -1, "Ruby")
                     elif itm.isDFile():
-                        self.sourceFile[str, int, str].emit(itm.fileName(), -1, "D")
+                        self.sourceFile[str, int, str].emit(
+                            itm.fileName(), -1, "D")
                     elif itm.isDesignerFile():
                         self.designerFile.emit(itm.fileName())
                     elif itm.isLinguistFile():
@@ -505,7 +522,8 @@
         index = self.currentIndex()
         searchDir = self.model().item(index).dirName()
         
-        e5App().getObject("UserInterface").showFindFilesDialog(searchDir=searchDir)
+        e5App().getObject("UserInterface")\
+            .showFindFilesDialog(searchDir=searchDir)
         
     def __replaceInDirectory(self):
         """
@@ -514,7 +532,8 @@
         index = self.currentIndex()
         searchDir = self.model().item(index).dirName()
         
-        e5App().getObject("UserInterface").showReplaceFilesDialog(searchDir=searchDir)
+        e5App().getObject("UserInterface")\
+            .showReplaceFilesDialog(searchDir=searchDir)
         
     def handleProgramChange(self, fn):
         """
@@ -612,6 +631,8 @@
         Private method to open the configuration dialog.
         """
         if self.__embeddedBrowser == 1:
-            e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage")
+            e5App().getObject("UserInterface")\
+                .showPreferences("debuggerGeneralPage")
         elif self.__embeddedBrowser == 2:
-            e5App().getObject("UserInterface").showPreferences("projectBrowserPage")
+            e5App().getObject("UserInterface")\
+                .showPreferences("projectBrowserPage")
--- a/UI/BrowserModel.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/BrowserModel.py	Sun Oct 13 14:56:56 2013 +0200
@@ -11,7 +11,8 @@
 import os
 import fnmatch
 
-from PyQt4.QtCore import QDir, QModelIndex, QAbstractItemModel, QFileSystemWatcher, Qt
+from PyQt4.QtCore import QDir, QModelIndex, QAbstractItemModel, \
+    QFileSystemWatcher, Qt
 from PyQt4.QtGui import QImageReader, QApplication, QFont
 
 import UI.PixmapCache
@@ -38,7 +39,8 @@
         Constructor
         
         @param parent reference to parent object (QObject)
-        @keyparam nopopulate flag indicating to not populate the model (boolean)
+        @keyparam nopopulate flag indicating to not populate the model
+            (boolean)
         """
         super().__init__(parent)
         
@@ -84,8 +86,8 @@
                 return item.data(index.column())
             elif index.column() == item.columnCount() and \
                  index.column() < self.columnCount(self.parent(index)):
-                # This is for the case where an item under a multi-column parent
-                # doesn't have a value for all the columns
+                # This is for the case where an item under a multi-column
+                # parent doesn't have a value for all the columns
                 return ""
         elif role == Qt.DecorationRole:
             if index.column() == 0:
@@ -284,7 +286,8 @@
             return
         
         if Preferences.getUI("BrowsersListHiddenFiles"):
-            filter = QDir.Filters(QDir.AllEntries | QDir.Hidden | QDir.NoDotAndDotDot)
+            filter = QDir.Filters(
+                QDir.AllEntries | QDir.Hidden | QDir.NoDotAndDotDot)
         else:
             filter = QDir.Filters(QDir.AllEntries | QDir.NoDotAndDotDot)
         
@@ -352,7 +355,8 @@
         if tdp:
             self.toplevelDirs = tdp
         else:
-            self.toplevelDirs.append(Utilities.toNativeSeparators(QDir.homePath()))
+            self.toplevelDirs.append(
+                Utilities.toNativeSeparators(QDir.homePath()))
             for d in QDir.drives():
                 self.toplevelDirs.append(Utilities.toNativeSeparators(
                     d.absoluteFilePath()))
@@ -363,7 +367,8 @@
     
     def programChange(self, dirname):
         """
-        Public method to change the entry for the directory of file being debugged.
+        Public method to change the entry for the directory of file being
+        debugged.
         
         @param dirname name of the directory containing the file (string)
         """
@@ -373,7 +378,8 @@
             
             # remove old entry
             self._removeWatchedItem(self.progDir)
-            self.beginRemoveRows(QModelIndex(), self.progDir.row(), self.progDir.row())
+            self.beginRemoveRows(
+                QModelIndex(), self.progDir.row(), self.progDir.row())
             self.rootItem.removeChild(self.progDir)
             self.endRemoveRows()
             self.progDir = None
@@ -397,7 +403,8 @@
         """
         Public method to remove a toplevel directory.
         
-        @param index index of the toplevel directory to be removed (QModelIndex)
+        @param index index of the toplevel directory to be removed
+            (QModelIndex)
         """
         if not index.isValid():
             return
@@ -475,13 +482,15 @@
         qdir = QDir(parentItem.dirName())
         
         if Preferences.getUI("BrowsersListHiddenFiles"):
-            filter = QDir.Filters(QDir.AllEntries | QDir.Hidden | QDir.NoDotAndDotDot)
+            filter = QDir.Filters(
+                QDir.AllEntries | QDir.Hidden | QDir.NoDotAndDotDot)
         else:
             filter = QDir.Filters(QDir.AllEntries | QDir.NoDotAndDotDot)
         entryInfoList = qdir.entryInfoList(filter)
         if len(entryInfoList) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(entryInfoList) - 1)
             for f in entryInfoList:
                 if f.isDir():
@@ -489,7 +498,8 @@
                         Utilities.toNativeSeparators(f.absoluteFilePath()),
                         False)
                 else:
-                    fileFilters = Preferences.getUI("BrowsersFileFilters").split(";")
+                    fileFilters = \
+                        Preferences.getUI("BrowsersFileFilters").split(";")
                     if fileFilters:
                         fn = f.fileName()
                         if any([fnmatch.fnmatch(fn, ff.strip())
@@ -510,7 +520,8 @@
         """
         if len(sys.path) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(sys.path) - 1)
             for p in sys.path:
                 if p == '':
@@ -541,7 +552,8 @@
         keys = list(dict.keys())
         if len(keys) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(keys) - 1)
             for key in keys:
                 if key.startswith("@@"):
@@ -589,13 +601,15 @@
         
         if len(keys) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(keys) - 1)
             for key, kind in keys:
                 if kind == 'c':
                     node = BrowserClassItem(parentItem, cl.classes[key], file_)
                 elif kind == 'm':
-                    node = BrowserMethodItem(parentItem, cl.methods[key], file_)
+                    node = BrowserMethodItem(parentItem, cl.methods[key],
+                                             file_)
                 self._addItem(node, parentItem)
             if repopulate:
                 self.endInsertRows()
@@ -643,13 +657,15 @@
         
         if len(keys) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(keys) - 1)
             for key, kind in keys:
                 if kind == 'c':
                     node = BrowserClassItem(parentItem, fn.classes[key], file_)
                 elif kind == 'm':
-                    node = BrowserMethodItem(parentItem, fn.methods[key], file_)
+                    node = BrowserMethodItem(parentItem, fn.methods[key],
+                                             file_)
                 self._addItem(node, parentItem)
             if repopulate:
                 self.endInsertRows()
@@ -658,7 +674,8 @@
         """
         Public method to populate a class attributes item's subtree.
         
-        @param parentItem reference to the class attributes item to be populated
+        @param parentItem reference to the class attributes item to be
+            populated
         @param repopulate flag indicating a repopulation (boolean)
         """
         classAttributes = parentItem.isClassAttributes()
@@ -669,7 +686,8 @@
         keys = list(attributes.keys())
         if len(keys) > 0:
             if repopulate:
-                self.beginInsertRows(self.createIndex(parentItem.row(), 0, parentItem),
+                self.beginInsertRows(
+                    self.createIndex(parentItem.row(), 0, parentItem),
                     0, len(keys) - 1)
             for key in keys:
                 node = BrowserClassAttributeItem(parentItem, attributes[key],
@@ -1083,7 +1101,8 @@
         @return flag indicating a Python file (boolean)
         """
         return self.fileext in Preferences.getPython("PythonExtensions") or \
-               (self.fileext == "" and self.sourceLanguage in ["Python", "Python2"])
+               (self.fileext == "" and self.sourceLanguage in ["Python",
+                                                               "Python2"])
     
     def isPython3File(self):
         """
@@ -1199,7 +1218,8 @@
         
         if issubclass(other.__class__, BrowserFileItem):
             sinit = os.path.basename(self._filename).startswith('__init__.py')
-            oinit = os.path.basename(other.fileName()).startswith('__init__.py')
+            oinit = \
+                os.path.basename(other.fileName()).startswith('__init__.py')
             if sinit and not oinit:
                 return order == Qt.AscendingOrder
             if not sinit and oinit:
@@ -1241,10 +1261,12 @@
         self._filename = filename
         
         import Utilities.ClassBrowsers.ClbrBaseClasses
-        self.isfunction = isinstance(self._classObject,
-                                     Utilities.ClassBrowsers.ClbrBaseClasses.Function)
-        self.ismodule = isinstance(self._classObject,
-                                   Utilities.ClassBrowsers.ClbrBaseClasses.Module)
+        self.isfunction = isinstance(
+            self._classObject,
+            Utilities.ClassBrowsers.ClbrBaseClasses.Function)
+        self.ismodule = isinstance(
+            self._classObject,
+            Utilities.ClassBrowsers.ClbrBaseClasses.Module)
         if self.isfunction:
             if cl.isPrivate():
                 self.icon = UI.PixmapCache.getIcon("method_private.png")
@@ -1255,8 +1277,9 @@
             self.itemData[0] = "{0}({1})".format(
                 name, ", ".join(self._classObject.parameters))
             # if no defaults are wanted
-            # ....format(name, ", ".join([e.split('=')[0].strip() \
-            #                             for e in self._classObject.parameters]))
+            # ....format(name,
+            #            ", ".join([e.split('=')[0].strip() \
+            #                       for e in self._classObject.parameters]))
         elif self.ismodule:
             self.icon = UI.PixmapCache.getIcon("module.png")
         else:
@@ -1318,7 +1341,8 @@
            issubclass(other.__class__, BrowserClassAttributesItem):
             return order == Qt.DescendingOrder
         
-        if Preferences.getUI("BrowsersListContentsByOccurrence") and column == 0:
+        if Preferences.getUI("BrowsersListContentsByOccurrence") and \
+                column == 0:
             if order == Qt.AscendingOrder:
                 return self.lineno() < other.lineno()
             else:
@@ -1370,8 +1394,9 @@
         self.itemData[0] = "{0}({1})".format(
             name, ", ".join(self._functionObject.parameters))
         # if no defaults are wanted
-        # ....format(name, ", ".join(
-        #            [e.split('=')[0].strip() for e in self._functionObject.parameters]))
+        # ....format(name,
+        #            ", ".join([e.split('=')[0].strip()
+        #                       for e in self._functionObject.parameters]))
         if self._functionObject and \
            (self._functionObject.methods or self._functionObject.classes):
             self._populated = False
@@ -1426,7 +1451,8 @@
         elif issubclass(other.__class__, BrowserClassAttributesItem):
             return order == Qt.DescendingOrder
         
-        if Preferences.getUI("BrowsersListContentsByOccurrence") and column == 0:
+        if Preferences.getUI("BrowsersListContentsByOccurrence") and \
+                column == 0:
             if order == Qt.AscendingOrder:
                 return self.lineno() < other.lineno()
             else:
@@ -1577,7 +1603,8 @@
         @param order sort order (Qt.SortOrder) (for special sorting)
         @return true, if this item is less than other (boolean)
         """
-        if Preferences.getUI("BrowsersListContentsByOccurrence") and column == 0:
+        if Preferences.getUI("BrowsersListContentsByOccurrence") and \
+                column == 0:
             if order == Qt.AscendingOrder:
                 return self.lineno() < other.lineno()
             else:
--- a/UI/CompareDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/CompareDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing a dialog to compare two files and show the result side by side.
+Module implementing a dialog to compare two files and show the result side by
+side.
 """
 
 import re
@@ -28,7 +29,8 @@
 
 def sbsdiff(a, b, linenumberwidth=4):
     """
-    Compare two sequences of lines; generate the delta for display side by side.
+    Compare two sequences of lines; generate the delta for display side by
+    side.
     
     @param a first sequence of lines (list of strings)
     @param b second sequence of lines (list of strings)
@@ -36,7 +38,8 @@
     @return a generator yielding tuples of differences. The tuple is composed
         of strings as follows.
         <ul>
-            <li>opcode -- one of e, d, i, r for equal, delete, insert, replace</li>
+            <li>opcode -- one of e, d, i, r for equal, delete, insert,
+                replace</li>
             <li>lineno a -- linenumber of sequence a</li>
             <li>line a -- line of sequence a</li>
             <li>lineno b -- linenumber of sequence b</li>
@@ -59,7 +62,8 @@
     linenumberformat = "{{0:{0:d}d}}".format(linenumberwidth)
     emptylineno = ' ' * linenumberwidth
     
-    for (ln1, l1), (ln2, l2), flag in _mdiff(a, b, None, None, IS_CHARACTER_JUNK):
+    for (ln1, l1), (ln2, l2), flag in _mdiff(a, b, None, None,
+                                             IS_CHARACTER_JUNK):
         if not flag:
             yield ('e', linenumberformat.format(ln1), l1,
                         linenumberformat.format(ln2), l2)
@@ -78,7 +82,8 @@
 
 class CompareDialog(QWidget, Ui_CompareDialog):
     """
-    Class implementing a dialog to compare two files and show the result side by side.
+    Class implementing a dialog to compare two files and show the result side
+    by side.
     """
     def __init__(self, files=[], parent=None):
         """
@@ -94,8 +99,8 @@
         self.file1Completer = E5FileCompleter(self.file1Edit)
         self.file2Completer = E5FileCompleter(self.file2Edit)
         
-        self.diffButton = \
-            self.buttonBox.addButton(self.trUtf8("Compare"), QDialogButtonBox.ActionRole)
+        self.diffButton = self.buttonBox.addButton(
+            self.trUtf8("Compare"), QDialogButtonBox.ActionRole)
         self.diffButton.setToolTip(
             self.trUtf8("Press to perform the comparison of the two files"))
         self.diffButton.setEnabled(False)
@@ -226,7 +231,8 @@
         except IOError:
             E5MessageBox.critical(self,
                 self.trUtf8("Compare Files"),
-                self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""")
+                self.trUtf8(
+                    """<p>The file <b>{0}</b> could not be read.</p>""")
                     .format(filename1))
             return
 
@@ -238,7 +244,8 @@
         except IOError:
             E5MessageBox.critical(self,
                 self.trUtf8("Compare Files"),
-                self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""")
+                self.trUtf8(
+                    """<p>The file <b>{0}</b> could not be read.</p>""")
                     .format(filename2))
             return
         
@@ -478,7 +485,8 @@
         """
         super().__init__(parent)
         
-        self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
+        self.setStyle(Preferences.getUI("Style"),
+                      Preferences.getUI("StyleSheet"))
         
         self.cw = CompareDialog(files, self)
         self.cw.installEventFilter(self)
--- a/UI/DiffDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/DiffDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -133,7 +133,8 @@
     Example:
 
     <pre>
-    &gt;&gt;&gt; print ''.join(context_diff('one\ntwo\nthree\nfour\n'.splitlines(1),
+    &gt;&gt;&gt; print ''.join(
+    ...       context_diff('one\ntwo\nthree\nfour\n'.splitlines(1),
     ...       'zero\none\ntree\nfour\n'.splitlines(1), 'Original', 'Current',
     ...       'Sat Jan 26 23:30:50 1991', 'Fri Jun 06 10:22:46 2003')),
     *** Original Sat Jan 26 23:30:50 1991
@@ -162,7 +163,8 @@
     @return a generator yielding lines of differences
     """
     started = False
-    prefixmap = {'insert': '+ ', 'delete': '- ', 'replace': '! ', 'equal': '  '}
+    prefixmap = {'insert': '+ ', 'delete': '- ', 'replace': '! ',
+                 'equal': '  '}
     for group in SequenceMatcher(None, a, b).get_grouped_opcodes(n):
         if not started:
             yield '*** {0}\t{1}{2}'.format(fromfile, fromfiledate, lineterm)
@@ -171,7 +173,8 @@
 
         yield '***************{0}'.format(lineterm)
         if group[-1][2] - group[0][1] >= 2:
-            yield '*** {0:d},{1:d} ****{2}'.format(group[0][1] + 1, group[-1][2], lineterm)
+            yield '*** {0:d},{1:d} ****{2}'.format(
+                group[0][1] + 1, group[-1][2], lineterm)
         else:
             yield '*** {0:d} ****{1}'.format(group[-1][2], lineterm)
         visiblechanges = [e for e in group if e[0] in ('replace', 'delete')]
@@ -182,7 +185,8 @@
                         yield prefixmap[tag] + line
 
         if group[-1][4] - group[0][3] >= 2:
-            yield '--- {0:d},{1:d} ----{2}'.format(group[0][3] + 1, group[-1][4], lineterm)
+            yield '--- {0:d},{1:d} ----{2}'.format(
+                group[0][3] + 1, group[-1][4], lineterm)
         else:
             yield '--- {0:d} ----{1}'.format(group[-1][4], lineterm)
         visiblechanges = [e for e in group if e[0] in ('replace', 'insert')]
@@ -209,13 +213,14 @@
         self.file1Completer = E5FileCompleter(self.file1Edit)
         self.file2Completer = E5FileCompleter(self.file2Edit)
         
-        self.diffButton = \
-            self.buttonBox.addButton(self.trUtf8("Compare"), QDialogButtonBox.ActionRole)
+        self.diffButton = self.buttonBox.addButton(
+            self.trUtf8("Compare"), QDialogButtonBox.ActionRole)
         self.diffButton.setToolTip(
             self.trUtf8("Press to perform the comparison of the two files"))
-        self.saveButton = \
-            self.buttonBox.addButton(self.trUtf8("Save"), QDialogButtonBox.ActionRole)
-        self.saveButton.setToolTip(self.trUtf8("Save the output to a patch file"))
+        self.saveButton = self.buttonBox.addButton(
+            self.trUtf8("Save"), QDialogButtonBox.ActionRole)
+        self.saveButton.setToolTip(
+            self.trUtf8("Save the output to a patch file"))
         self.diffButton.setEnabled(False)
         self.saveButton.setEnabled(False)
         self.diffButton.setDefault(True)
@@ -313,10 +318,11 @@
                 pass
             f.close()
         except IOError as why:
-            E5MessageBox.critical(self, self.trUtf8('Save Diff'),
-                self.trUtf8('<p>The patch file <b>{0}</b> could not be saved.<br />'
-                            'Reason: {1}</p>')
-                    .format(fname, str(why)))
+            E5MessageBox.critical(
+                self, self.trUtf8('Save Diff'),
+                self.trUtf8(
+                    '<p>The patch file <b>{0}</b> could not be saved.<br />'
+                    'Reason: {1}</p>').format(fname, str(why)))
 
     @pyqtSlot()
     def on_diffButton_clicked(self):
@@ -335,7 +341,8 @@
         except IOError:
             E5MessageBox.critical(self,
                 self.trUtf8("Compare Files"),
-                self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""")
+                self.trUtf8(
+                    """<p>The file <b>{0}</b> could not be read.</p>""")
                     .format(self.filename1))
             return
 
@@ -351,7 +358,8 @@
         except IOError:
             E5MessageBox.critical(self,
                 self.trUtf8("Compare Files"),
-                self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""")
+                self.trUtf8(
+                    """<p>The file <b>{0}</b> could not be read.</p>""")
                     .format(self.filename2))
             return
         
@@ -359,11 +367,13 @@
         self.saveButton.setEnabled(False)
         
         if self.unifiedRadioButton.isChecked():
-            self.__generateUnifiedDiff(lines1, lines2, self.filename1, self.filename2,
-                                filemtime1, filemtime2)
+            self.__generateUnifiedDiff(
+                lines1, lines2, self.filename1, self.filename2,
+                filemtime1, filemtime2)
         else:
-            self.__generateContextDiff(lines1, lines2, self.filename1, self.filename2,
-                                filemtime1, filemtime2)
+            self.__generateContextDiff(
+                lines1, lines2, self.filename1, self.filename2,
+                filemtime1, filemtime2)
         
         tc = self.contents.textCursor()
         tc.movePosition(QTextCursor.Start)
@@ -414,7 +424,8 @@
                 QApplication.processEvents()
             
         if paras == 0:
-            self.__appendText(self.trUtf8('There is no difference.'), self.cNormalFormat)
+            self.__appendText(
+                self.trUtf8('There is no difference.'), self.cNormalFormat)
 
     def __generateContextDiff(self, a, b, fromfile, tofile,
                             fromfiledate, tofiledate):
@@ -437,7 +448,8 @@
                 format = self.cRemovedFormat
             elif line.startswith('! '):
                 format = self.cReplacedFormat
-            elif (line.startswith('*** ') or line.startswith('--- ')) and paras > 1:
+            elif (line.startswith('*** ') or line.startswith('--- ')) and \
+                    paras > 1:
                 format = self.cLineNoFormat
             else:
                 format = self.cNormalFormat
@@ -447,7 +459,8 @@
                 QApplication.processEvents()
             
         if paras == 0:
-            self.__appendText(self.trUtf8('There is no difference.'), self.cNormalFormat)
+            self.__appendText(
+                self.trUtf8('There is no difference.'), self.cNormalFormat)
 
     def __fileChanged(self):
         """
@@ -502,7 +515,8 @@
         """
         super().__init__(parent)
         
-        self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
+        self.setStyle(Preferences.getUI("Style"),
+                      Preferences.getUI("StyleSheet"))
         
         self.cw = DiffDialog(self)
         self.cw.installEventFilter(self)
--- a/UI/EmailDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/EmailDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -13,8 +13,8 @@
 import socket
 
 from PyQt4.QtCore import Qt, pyqtSlot, qVersion
-from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, QInputDialog, \
-    QApplication, QDialogButtonBox, QTreeWidgetItem
+from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \
+    QInputDialog, QApplication, QDialogButtonBox, QTreeWidgetItem
 
 from E5Gui import E5MessageBox, E5FileDialog
 
@@ -53,7 +53,8 @@
     msg.set_payload(encdata)
     msg['Content-Transfer-Encoding'] = 'base64'
 
-encoders.encode_base64 = _encode_base64     # WORK AROUND: implement our corrected encoder
+encoders.encode_base64 = _encode_base64     # WORK AROUND: implement our
+                                            # corrected encoder
 
 
 class EmailDialog(QDialog, Ui_EmailDialog):
@@ -84,17 +85,19 @@
                 " Version information is added automatically."))
             self.__toAddress = BugAddress
         
-        self.sendButton = \
-            self.buttonBox.addButton(self.trUtf8("Send"), QDialogButtonBox.ActionRole)
+        self.sendButton = self.buttonBox.addButton(
+            self.trUtf8("Send"), QDialogButtonBox.ActionRole)
         self.sendButton.setEnabled(False)
         self.sendButton.setDefault(True)
         
         height = self.height()
         self.mainSplitter.setSizes([int(0.7 * height), int(0.3 * height)])
         
-        self.attachments.headerItem().setText(self.attachments.columnCount(), "")
+        self.attachments.headerItem().setText(
+            self.attachments.columnCount(), "")
         if qVersion() >= "5.0.0":
-            self.attachments.header().setSectionResizeMode(QHeaderView.Interactive)
+            self.attachments.header().setSectionResizeMode(
+                QHeaderView.Interactive)
         else:
             self.attachments.header().setResizeMode(QHeaderView.Interactive)
         
@@ -251,7 +254,8 @@
                     att = MIMEText(txt, _subtype=subtype)
                 except UnicodeEncodeError:
                     att = MIMEText(
-                        txt.encode("utf-8"), _subtype=subtype, _charset="utf-8")
+                        txt.encode("utf-8"), _subtype=subtype,
+                        _charset="utf-8")
             elif maintype == 'image':
                 att = MIMEImage(open(fname, 'rb').read(), _subtype=subtype)
             elif maintype == 'audio':
@@ -299,7 +303,8 @@
                         errorStr = str(e)
                     res = E5MessageBox.retryAbort(self,
                         self.trUtf8("Send bug report"),
-                        self.trUtf8("""<p>Authentication failed.<br>Reason: {0}</p>""")
+                        self.trUtf8(
+                            """<p>Authentication failed.<br>Reason: {0}</p>""")
                             .format(errorStr),
                         E5MessageBox.Critical)
                     if res:
@@ -309,7 +314,8 @@
 
             QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
             QApplication.processEvents()
-            server.sendmail(Preferences.getUser("Email"), self.__toAddress, msg)
+            server.sendmail(Preferences.getUser("Email"), self.__toAddress,
+                            msg)
             server.quit()
             QApplication.restoreOverrideCursor()
         except (smtplib.SMTPException, socket.error) as e:
@@ -322,7 +328,8 @@
                 errorStr = str(e)
             res = E5MessageBox.retryAbort(self,
                 self.trUtf8("Send bug report"),
-                self.trUtf8("""<p>Message could not be sent.<br>Reason: {0}</p>""")
+                self.trUtf8(
+                    """<p>Message could not be sent.<br>Reason: {0}</p>""")
                     .format(errorStr),
                 E5MessageBox.Critical)
             if res:
--- a/UI/ErrorLogDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/ErrorLogDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -29,7 +29,8 @@
         super().__init__(parent)
         self.setupUi(self)
         
-        pixmap = self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(32, 32)
+        pixmap = self.style().standardIcon(QStyle.SP_MessageBoxQuestion)\
+            .pixmap(32, 32)
         self.icon.setPixmap(pixmap)
         
         self.__ui = parent
--- a/UI/FindFileDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/FindFileDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -11,8 +11,8 @@
 import re
 
 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot
-from PyQt4.QtGui import QCursor, QDialog, QApplication, QMenu, QDialogButtonBox, \
-    QTreeWidgetItem
+from PyQt4.QtGui import QCursor, QDialog, QApplication, QMenu, \
+    QDialogButtonBox, QTreeWidgetItem
 
 from E5Gui.E5Application import e5App
 from E5Gui import E5MessageBox, E5FileDialog
--- a/UI/FindFileNameDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/FindFileNameDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -50,8 +50,8 @@
         
         self.fileList.headerItem().setText(self.fileList.columnCount(), "")
         
-        self.stopButton = \
-            self.buttonBox.addButton(self.trUtf8("Stop"), QDialogButtonBox.ActionRole)
+        self.stopButton = self.buttonBox.addButton(
+            self.trUtf8("Stop"), QDialogButtonBox.ActionRole)
         self.stopButton.setToolTip(self.trUtf8("Press to stop the search"))
         self.stopButton.setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Open).setToolTip(
@@ -129,7 +129,8 @@
         
         for path in searchPaths:
             if os.path.isdir(path):
-                files = direntries(path, True, fileNamePattern, False, self.checkStop)
+                files = direntries(path, True, fileNamePattern,
+                                   False, self.checkStop)
                 if files:
                     found = True
                     for file in files:
@@ -171,7 +172,8 @@
         
     def on_fileExtEdit_textChanged(self, text):
         """
-        Private slot to handle the textChanged signal of the file extension edit.
+        Private slot to handle the textChanged signal of the file extension
+        edit.
         
         @param text (ignored)
         """
@@ -179,7 +181,8 @@
         
     def on_searchDirEdit_textChanged(self, text):
         """
-        Private slot to handle the textChanged signal of the search directory edit.
+        Private slot to handle the textChanged signal of the search directory
+        edit.
         
         @param text text of the search dir edit (string)
         """
@@ -190,7 +193,8 @@
     @pyqtSlot()
     def on_searchDirButton_clicked(self):
         """
-        Private slot to handle the clicked signal of the search directory selection
+        Private slot to handle the clicked signal of the search directory
+        selection
         button.
         """
         searchDir = E5FileDialog.getExistingDirectory(
@@ -204,7 +208,8 @@
         
     def on_searchDirCheckBox_toggled(self, checked):
         """
-        Private slot to handle the toggled signal of the search directory checkbox.
+        Private slot to handle the toggled signal of the search directory
+        checkbox.
         
         @param checked flag indicating the state of the checkbox (boolean)
         """
@@ -247,7 +252,8 @@
         @param current current item (QTreeWidgetItem)
         @param previous prevoius current item (QTreeWidgetItem)
         """
-        self.buttonBox.button(QDialogButtonBox.Open).setEnabled(current is not None)
+        self.buttonBox.button(QDialogButtonBox.Open).setEnabled(
+            current is not None)
         
     def show(self):
         """
--- a/UI/Info.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/Info.py	Sun Oct 13 14:56:56 2013 +0200
@@ -9,7 +9,8 @@
 
 Program = 'eric5'
 Version = '@@VERSION@@ (rev @@REVISION@@)'
-Copyright = 'Copyright (c) 2002 - 2013 Detlev Offenbach <detlev@die-offenbachs.de>'
+Copyright = 'Copyright (c) 2002 - 2013 Detlev Offenbach' \
+            ' <detlev@die-offenbachs.de>'
 BugAddress = 'eric5-bugs@eric-ide.python-projects.org'
 FeatureAddress = 'eric5-featurerequest@eric-ide.python-projects.org'
 Homepage = "http://eric-ide.python-projects.org/index.html"
--- a/UI/LogView.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/LogView.py	Sun Oct 13 14:56:56 2013 +0200
@@ -8,8 +8,8 @@
 """
 
 from PyQt4.QtCore import Qt, pyqtSignal
-from PyQt4.QtGui import QTextEdit, QBrush, QApplication, QMenu, QTextCursor, QWidget, \
-    QHBoxLayout, QTextDocument
+from PyQt4.QtGui import QTextEdit, QBrush, QApplication, QMenu, QTextCursor, \
+    QWidget, QHBoxLayout, QTextDocument
 
 from E5Gui.E5Application import e5App
 
@@ -43,7 +43,8 @@
         
         self.__searchWidget.searchNext.connect(self.__logViewer.searchNext)
         self.__searchWidget.searchPrevious.connect(self.__logViewer.searchPrev)
-        self.__logViewer.searchStringFound.connect(self.__searchWidget.searchStringFound)
+        self.__logViewer.searchStringFound.connect(
+            self.__searchWidget.searchStringFound)
         
     def appendToStdout(self, txt):
         """
@@ -80,7 +81,8 @@
     """
     Class providing a specialized text edit for displaying logging information.
     
-    @signal searchStringFound(found) emitted to indicate the search result (boolean)
+    @signal searchStringFound(found) emitted to indicate the search result
+        (boolean)
     """
     searchStringFound = pyqtSignal(bool)
     
@@ -114,7 +116,8 @@
         
         self.cNormalFormat = self.currentCharFormat()
         self.cErrorFormat = self.currentCharFormat()
-        self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour")))
+        self.cErrorFormat.setForeground(
+            QBrush(Preferences.getUI("LogStdErrColour")))
         
     def __handleShowContextMenu(self, coord):
         """
@@ -164,7 +167,8 @@
         """
         Public slot to handle a change of the preferences.
         """
-        self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour")))
+        self.cErrorFormat.setForeground(
+            QBrush(Preferences.getUI("LogStdErrColour")))
         
     def __configure(self):
         """
--- a/UI/NotificationWidget.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/NotificationWidget.py	Sun Oct 13 14:56:56 2013 +0200
@@ -111,7 +111,8 @@
             return
         
         if evt.button() == Qt.LeftButton:
-            self.__dragPosition = evt.globalPos() - self.frameGeometry().topLeft()
+            self.__dragPosition = \
+                evt.globalPos() - self.frameGeometry().topLeft()
             self.setCursor(Qt.ClosedHandCursor)
             evt.accept()
     
--- a/UI/NumbersWidget.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/NumbersWidget.py	Sun Oct 13 14:56:56 2013 +0200
@@ -7,7 +7,8 @@
 Module implementing a widget to show numbers in different formats.
 """
 
-from PyQt4.QtCore import pyqtSlot, pyqtSignal, Qt, QAbstractTableModel, qVersion
+from PyQt4.QtCore import pyqtSlot, pyqtSignal, Qt, QAbstractTableModel, \
+    qVersion
 from PyQt4.QtGui import QWidget, QHeaderView
 
 from E5Gui.E5Application import e5App
@@ -199,7 +200,8 @@
             self.binTable.horizontalHeader().setSectionResizeMode(
                 QHeaderView.ResizeToContents)
         else:
-            self.binTable.horizontalHeader().setResizeMode(QHeaderView.ResizeToContents)
+            self.binTable.horizontalHeader().setResizeMode(
+                QHeaderView.ResizeToContents)
         self.__model.setBitsAndValue(self.__bytes * 8, self.__input)
         self.__model.dataChanged.connect(self.__binModelDataChanged)
     
--- a/UI/Previewer.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/Previewer.py	Sun Oct 13 14:56:56 2013 +0200
@@ -43,7 +43,8 @@
         
         self.__firstShow = True
         
-        self.previewView.page().setLinkDelegationPolicy(QWebPage.DelegateAllLinks)
+        self.previewView.page().setLinkDelegationPolicy(
+            QWebPage.DelegateAllLinks)
         
         # Don't update too often because the UI might become sluggish
         self.__typingTimer = QTimer()
@@ -75,9 +76,12 @@
         """
         super().show()
         if self.__firstShow:
-            self.__splitter.restoreState(Preferences.getUI("PreviewSplitterState"))
-            self.jsCheckBox.setChecked(Preferences.getUI("ShowFilePreviewJS"))
-            self.ssiCheckBox.setChecked(Preferences.getUI("ShowFilePreviewSSI"))
+            self.__splitter.restoreState(
+                Preferences.getUI("PreviewSplitterState"))
+            self.jsCheckBox.setChecked(
+                Preferences.getUI("ShowFilePreviewJS"))
+            self.ssiCheckBox.setChecked(
+                Preferences.getUI("ShowFilePreviewSSI"))
             self.__firstShow = False
         self.__typingTimer.start()
     
@@ -145,7 +149,8 @@
             self.hide()
             return
         
-        if Preferences.getUI("ShowFilePreview") and self.__isPreviewable(editor):
+        if Preferences.getUI("ShowFilePreview") and \
+                self.__isPreviewable(editor):
             self.show()
             self.__runProcessingThread()
         else:
@@ -183,7 +188,8 @@
     
     def __isPreviewable(self, editor):
         """
-        Private method to check, if a preview can be shown for the given editor.
+        Private method to check, if a preview can be shown for the given
+        editor.
         
         @param editor reference to an editor (Editor)
         @return flag indicating if a preview can be shown (boolean)
@@ -194,7 +200,8 @@
                     os.path.splitext(editor.getFileName())[1][1:])
                 return extension in \
                     Preferences.getEditor("PreviewHtmlFileNameExtensions") + \
-                    Preferences.getEditor("PreviewMarkdownFileNameExtensions") + \
+                    Preferences.getEditor(
+                        "PreviewMarkdownFileNameExtensions") + \
                     Preferences.getEditor("PreviewRestFileNameExtensions")
             elif editor.getLanguage() == "HTML":
                 return True
@@ -226,8 +233,8 @@
                 Preferences.getEditor("PreviewRestFileNameExtensions"):
                 language = "ReST"
             else:
-                self.__setHtml(fn,
-                    self.trUtf8("<p>No preview available for this type of file.</p>"))
+                self.__setHtml(fn, self.trUtf8(
+                    "<p>No preview available for this type of file.</p>"))
                 return
             
             if fn:
@@ -245,7 +252,8 @@
 
     def __setHtml(self, filePath, html):
         """
-        Private method to set the HTML to the view and restore the scroll bars positions.
+        Private method to set the HTML to the view and restore the scroll bars
+        positions.
         
         @param filePath file path of the previewed editor (string)
         @param html processed HTML text ready to be shown (string)
@@ -299,13 +307,16 @@
             return
         
         frame = self.previewView.page().mainFrame()
-        frame.setScrollPosition(self.__scrollBarPositions[self.__previewedPath])
+        frame.setScrollPosition(
+            self.__scrollBarPositions[self.__previewedPath])
         
         if self.__hScrollBarAtEnd[self.__previewedPath]:
-            frame.setScrollBarValue(Qt.Horizontal, frame.scrollBarMaximum(Qt.Horizontal))
+            frame.setScrollBarValue(
+                Qt.Horizontal, frame.scrollBarMaximum(Qt.Horizontal))
         
         if self.__vScrollBarAtEnd[self.__previewedPath]:
-            frame.setScrollBarValue(Qt.Vertical, frame.scrollBarMaximum(Qt.Vertical))
+            frame.setScrollBarValue(
+                Qt.Vertical, frame.scrollBarMaximum(Qt.Vertical))
     
     @pyqtSlot(QUrl)
     def on_previewView_linkClicked(self, url):
@@ -322,8 +333,8 @@
     Class implementing a thread to process some text into HTML usable by the
     previewer view.
     
-    @signal htmlReady(str,str) emitted with the file name and processed HTML to signal
-            the availability of the processed HTML
+    @signal htmlReady(str,str) emitted with the file name and processed HTML
+        to signal the availability of the processed HTML
     """
     htmlReady = pyqtSignal(str, str)
     
@@ -344,7 +355,8 @@
         @param filePath file path of the text (string)
         @param language language of the text (string)
         @param text text to be processed (string)
-        @param ssiEnabled flag indicating to do some (limited) SSI processing (boolean)
+        @param ssiEnabled flag indicating to do some (limited) SSI processing
+            (boolean)
         @param rootPath root path to be used for SSI processing (str)
         """
         with self.__lock:
@@ -371,7 +383,8 @@
                 rootPath = self.__rootPath
                 self.__haveData = False
             
-            html = self.__getHtml(language, text, ssiEnabled, filePath, rootPath)
+            html = self.__getHtml(language, text, ssiEnabled, filePath,
+                                  rootPath)
             
             with self.__lock:
                 if not self.__haveData:
@@ -402,7 +415,8 @@
         elif language == "ReST":
             return self.__convertReST(text)
         else:
-            return self.trUtf8("<p>No preview available for this type of file.</p>")
+            return self.trUtf8(
+                "<p>No preview available for this type of file.</p>")
     
     def __processSSI(self, txt, filename, root):
         """
@@ -411,7 +425,8 @@
         Note: Only a limited subset of SSI statements are supported.
         
         @param txt text to be processed (string)
-        @param filename name of the file associated with the given text (string)
+        @param filename name of the file associated with the given text
+            (string)
         @param root directory of the document root (string)
         @return processed HTML (string)
         """
@@ -461,11 +476,14 @@
             import docutils.core    # __IGNORE_EXCEPTION__ __IGNORE_WARNING__
         except ImportError:
             return self.trUtf8(
-                """<p>ReStructuredText preview requires the <b>python-docutils</b> """
-                """package.<br/>Install it with your package manager or see """
-                """<a href="http://pypi.python.org/pypi/docutils">this page.</a></p>""")
+                """<p>ReStructuredText preview requires the"""
+                """ <b>python-docutils</b> package.<br/>Install it with"""
+                """ your package manager or see"""
+                """ <a href="http://pypi.python.org/pypi/docutils">"""
+                """this page.</a></p>""")
         
-        return docutils.core.publish_string(text, writer_name='html').decode("utf-8")
+        return docutils.core.publish_string(text, writer_name='html')\
+            .decode("utf-8")
     
     def __convertMarkdown(self, text):
         """
@@ -493,22 +511,23 @@
         
         # version 2.0 supports only extension names, not instances
         if markdown.version_info[0] > 2 or \
-           (markdown.version_info[0] == 2 and markdown.version_info[1] > 0):
-            
+                (markdown.version_info[0] == 2 and 
+                 markdown.version_info[1] > 0):
             class _StrikeThroughExtension(markdown.Extension):
                 """
                 Class is placed here, because it depends on imported markdown,
                 and markdown import is lazy.
                 
-                (see
-                <a href="http://achinghead.com/python-markdown-adding-insert-delete.html">
-                this page for details</a>)
+                (see http://achinghead.com/
+                python-markdown-adding-insert-delete.html this page for
+                details)
                 """
                 DEL_RE = r'(~~)(.*?)~~'
 
                 def extendMarkdown(self, md, md_globals):
                     # Create the del pattern
-                    del_tag = markdown.inlinepatterns.SimpleTagPattern(self.DEL_RE, 'del')
+                    del_tag = markdown.inlinepatterns.SimpleTagPattern(
+                        self.DEL_RE, 'del')
                     # Insert del pattern into markdown parser
                     md.inlinePatterns.add('del', del_tag, '>not_strong')
             
@@ -518,6 +537,6 @@
             return markdown.markdown(text,  extensions + ['mathjax'])
         except (ImportError, ValueError):
             # markdown raises ValueError or ImportError, depends on version
-            # It is not clear, how to distinguish missing mathjax from other errors.
-            # So keep going without mathjax.
+            # It is not clear, how to distinguish missing mathjax from other
+            # errors. So keep going without mathjax.
             return markdown.markdown(text, extensions)
--- a/UI/SearchWidget.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/SearchWidget.py	Sun Oct 13 14:56:56 2013 +0200
@@ -19,10 +19,10 @@
     """
     Class implementing the search box for the shel, terminal and log viewer.
     
-    @signal searchNext(text, caseSensitive, wholeWord) emitted when the user pressed
-        the next button (string, boolean, boolean)
-    @signal searchPrevious(text, caseSensitive, wholeWord) emitted when the user pressed
-        the previous button (string, boolean, boolean)
+    @signal searchNext(text, caseSensitive, wholeWord) emitted when the user
+        pressed the next button (string, boolean, boolean)
+    @signal searchPrevious(text, caseSensitive, wholeWord) emitted when the
+        user pressed the previous button (string, boolean, boolean)
     """
     searchNext = pyqtSignal(str, bool, bool)
     searchPrevious = pyqtSignal(str, bool, bool)
@@ -39,11 +39,12 @@
         super().__init__(parent)
         self.setupUi(self)
         if spacer:
-            spacerItem = QSpacerItem(20, 1, QSizePolicy.Minimum, QSizePolicy.Expanding)
+            spacerItem = QSpacerItem(
+                20, 1, QSizePolicy.Minimum, QSizePolicy.Expanding)
             self.verticalLayout.addItem(spacerItem)
         else:
-            # change the size policy of the search combo if the spacer is not wanted,
-            # i.e. it is below the to be searched widget
+            # change the size policy of the search combo if the spacer is not
+            # wanted, i.e. it is below the to be searched widget
             sizePolicy = self.findtextCombo.sizePolicy()
             sizePolicy.setHorizontalPolicy(QSizePolicy.Expanding)
             self.findtextCombo.setSizePolicy(sizePolicy)
@@ -57,7 +58,8 @@
         
         self.findHistory = []
         
-        self.findtextCombo.lineEdit().returnPressed.connect(self.__findByReturnPressed)
+        self.findtextCombo.lineEdit().returnPressed.connect(
+            self.__findByReturnPressed)
     
     @pyqtSlot()
     def on_closeButton_clicked(self):
@@ -137,7 +139,8 @@
     
     def __findByReturnPressed(self):
         """
-        Private slot to handle the returnPressed signal of the findtext combobox.
+        Private slot to handle the returnPressed signal of the findtext
+        combobox.
         """
         if self.__findBackwards:
             self.on_findPrevButton_clicked()
@@ -169,4 +172,5 @@
             self.statusLabel.clear()
         else:
             txt = self.findtextCombo.currentText()
-            self.statusLabel.setText(self.trUtf8("'{0}' was not found.").format(txt))
+            self.statusLabel.setText(
+                self.trUtf8("'{0}' was not found.").format(txt))
--- a/UI/SplashScreen.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/SplashScreen.py	Sun Oct 13 14:56:56 2013 +0200
@@ -24,9 +24,10 @@
         """
         Constructor
         """
-        ericPic = QPixmap(os.path.join(getConfig('ericPixDir'), 'ericSplash.png'))
-        self.labelAlignment = \
-            Qt.Alignment(Qt.AlignBottom | Qt.AlignRight | Qt.AlignAbsolute)
+        ericPic = QPixmap(
+            os.path.join(getConfig('ericPixDir'), 'ericSplash.png'))
+        self.labelAlignment = Qt.Alignment(
+            Qt.AlignBottom | Qt.AlignRight | Qt.AlignAbsolute)
         super().__init__(ericPic)
         self.show()
         QApplication.flush()
--- a/UI/SymbolsWidget.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/SymbolsWidget.py	Sun Oct 13 14:56:56 2013 +0200
@@ -11,8 +11,8 @@
 import unicodedata
 import html.entities
 
-from PyQt4.QtCore import pyqtSlot, pyqtSignal, QAbstractTableModel, QModelIndex, Qt, \
-    qVersion
+from PyQt4.QtCore import pyqtSlot, pyqtSignal, QAbstractTableModel, \
+    QModelIndex, Qt, qVersion
 from PyQt4.QtGui import QWidget, QHeaderView, QAbstractItemView, QColor, \
     QItemSelectionModel
 
@@ -83,7 +83,8 @@
             (0x1200, 0x137f, self.trUtf8("Ethiopic")),
             (0x1380, 0x139f, self.trUtf8("Ethiopic Supplement")),
             (0x13a0, 0x13ff, self.trUtf8("Cherokee")),
-            (0x1400, 0x167f, self.trUtf8("Unified Canadian Aboriginal Syllabics")),
+            (0x1400, 0x167f,
+             self.trUtf8("Unified Canadian Aboriginal Syllabics")),
             (0x1680, 0x169f, self.trUtf8("Ogham")),
             (0x16a0, 0x16ff, self.trUtf8("Runic")),
             (0x1700, 0x171f, self.trUtf8("Tagalog")),
@@ -92,7 +93,8 @@
             (0x1760, 0x177f, self.trUtf8("Tagbanwa")),
             (0x1780, 0x17ff, self.trUtf8("Khmer")),
             (0x1800, 0x18af, self.trUtf8("Mongolian")),
-            (0x18b0, 0x18ff, self.trUtf8("Unified Canadian Aboriginal Syllabics Extended")),
+            (0x18b0, 0x18ff,
+             self.trUtf8("Unified Canadian Aboriginal Syllabics Extended")),
             (0x1900, 0x194f, self.trUtf8("Limbu")),
             (0x1950, 0x197f, self.trUtf8("Tai Le")),
             (0x19e0, 0x19ff, self.trUtf8("Khmer Symbols")),
@@ -107,7 +109,8 @@
             (0x1cd0, 0x1cff, self.trUtf8("Vedic Extensions")),
             (0x1d00, 0x1d7f, self.trUtf8("Phonetic Extensions")),
             (0x1d80, 0x1dbf, self.trUtf8("Phonetic Extensions Supplement")),
-            (0x1dc0, 0x1dff, self.trUtf8("Combining Diacritical Marks Supplement")),
+            (0x1dc0, 0x1dff,
+             self.trUtf8("Combining Diacritical Marks Supplement")),
             (0x1e00, 0x1eff, self.trUtf8("Latin Extended Additional")),
             (0x1f00, 0x1fff, self.trUtf8("Greek Extended")),
             (0x2000, 0x206f, self.trUtf8("General Punctuation")),
@@ -127,13 +130,17 @@
             (0x25A0, 0x25ff, self.trUtf8("Geometric Shapes")),
             (0x2600, 0x26ff, self.trUtf8("Miscellaneous Symbols")),
             (0x2700, 0x27bf, self.trUtf8("Dingbats")),
-            (0x27c0, 0x27ef, self.trUtf8("Miscellaneous Mathematical Symbols-A")),
+            (0x27c0, 0x27ef,
+             self.trUtf8("Miscellaneous Mathematical Symbols-A")),
             (0x27f0, 0x27ff, self.trUtf8("Supplement Arcolumns-A")),
             (0x2800, 0x28ff, self.trUtf8("Braille Patterns")),
             (0x2900, 0x297f, self.trUtf8("Supplement Arcolumns-B")),
-            (0x2980, 0x29ff, self.trUtf8("Miscellaneous Mathematical Symbols-B")),
-            (0x2a00, 0x2aff, self.trUtf8("Supplemental Mathematical Operators")),
-            (0x2b00, 0x2bff, self.trUtf8("Miscellaneous Symbols and Arcolumns")),
+            (0x2980, 0x29ff,
+             self.trUtf8("Miscellaneous Mathematical Symbols-B")),
+            (0x2a00, 0x2aff,
+             self.trUtf8("Supplemental Mathematical Operators")),
+            (0x2b00, 0x2bff,
+             self.trUtf8("Miscellaneous Symbols and Arcolumns")),
             (0x2c00, 0x2c5f, self.trUtf8("Glagolitic")),
             (0x2c60, 0x2c7f, self.trUtf8("Latin Extended-C")),
             (0x2c80, 0x2cff, self.trUtf8("Coptic")),
@@ -237,35 +244,49 @@
                 (0x11180, 0x111df, self.trUtf8("Sharada")),
                 (0x11680, 0x116cf, self.trUtf8("Takri")),
                 (0x12000, 0x123ff, self.trUtf8("Cuneiform")),
-                (0x12400, 0x1247f, self.trUtf8("Cuneiform Numbers and Punctuation")),
+                (0x12400, 0x1247f,
+                 self.trUtf8("Cuneiform Numbers and Punctuation")),
                 (0x13000, 0x1342f, self.trUtf8("Egyptian Hieroglyphs")),
                 (0x16800, 0x16a3f, self.trUtf8("Bamum Supplement")),
                 (0x16f00, 0x16f9f, self.trUtf8("Miao")),
                 (0x1b000, 0x1b0ff, self.trUtf8("Kana Supplement")),
                 (0x1d000, 0x1d0ff, self.trUtf8("Byzantine Musical Symbols")),
                 (0x1d100, 0x1d1ff, self.trUtf8("Musical Symbols")),
-                (0x1d200, 0x1d24f, self.trUtf8("Ancient Greek Musical Notation")),
+                (0x1d200, 0x1d24f,
+                 self.trUtf8("Ancient Greek Musical Notation")),
                 (0x1d300, 0x1d35f, self.trUtf8("Tai Xuan Jing Symbols")),
-                (0x1d360, 0x1d37f, self.trUtf8("Counting Rod Numerals")),
-                (0x1d400, 0x1d7ff, self.trUtf8("Mathematical Alphanumeric Symbols")),
-                (0x1ee00, 0x1eeff, self.trUtf8("Arabic Mathematical Alphabetic Symbols")),
+                (0x1d360, 0x1d37f,
+                 self.trUtf8("Counting Rod Numerals")),
+                (0x1d400, 0x1d7ff,
+                 self.trUtf8("Mathematical Alphanumeric Symbols")),
+                (0x1ee00, 0x1eeff,
+                 self.trUtf8("Arabic Mathematical Alphabetic Symbols")),
                 (0x1f000, 0x1f02f, self.trUtf8("Mahjong Tiles")),
                 (0x1f030, 0x1f09f, self.trUtf8("Domino Tiles")),
                 (0x1f0a0, 0x1f0ff, self.trUtf8("Playing Cards")),
-                (0x1f100, 0x1f1ff, self.trUtf8("Enclosed Alphanumeric Supplement")),
-                (0x1f200, 0x1f2ff, self.trUtf8("Enclosed Ideographic Supplement")),
-                (0x1f300, 0x1f5ff, self.trUtf8("Miscellaneous Symbols And Pictographs")),
+                (0x1f100, 0x1f1ff,
+                 self.trUtf8("Enclosed Alphanumeric Supplement")),
+                (0x1f200, 0x1f2ff,
+                 self.trUtf8("Enclosed Ideographic Supplement")),
+                (0x1f300, 0x1f5ff,
+                 self.trUtf8("Miscellaneous Symbols And Pictographs")),
                 (0x1f600, 0x1f64f, self.trUtf8("Emoticons")),
                 (0x1f680, 0x1f6ff, self.trUtf8("Transport And Map Symbols")),
                 (0x1f700, 0x1f77f, self.trUtf8("Alchemical Symbols")),
                 (0x20000, 0x2a6df, self.trUtf8("CJK Unified Ideogr. Ext. B")),
-                (0x2a700, 0x2b73f, self.trUtf8("CJK Unified Ideographs Extension C")),
-                (0x2b740, 0x2b81f, self.trUtf8("CJK Unified Ideographs Extension D")),
-                (0x2f800, 0x2fa1f, self.trUtf8("CJK Compatapility Ideogr. Suppl.")),
+                (0x2a700, 0x2b73f,
+                 self.trUtf8("CJK Unified Ideographs Extension C")),
+                (0x2b740, 0x2b81f,
+                 self.trUtf8("CJK Unified Ideographs Extension D")),
+                (0x2f800, 0x2fa1f,
+                 self.trUtf8("CJK Compatapility Ideogr. Suppl.")),
                 (0xe0000, 0xe007f, self.trUtf8("Tags")),
-                (0xe0100, 0xe01ef, self.trUtf8("Variation Selectors Supplement")),
-                (0xf0000, 0xfffff, self.trUtf8("Supplementary Private Use Area-A")),
-                (0x100000, 0x10ffff, self.trUtf8("Supplementary Private Use Area-B")),
+                (0xe0100, 0xe01ef,
+                 self.trUtf8("Variation Selectors Supplement")),
+                (0xf0000, 0xfffff,
+                 self.trUtf8("Supplementary Private Use Area-A")),
+                (0x100000, 0x10ffff,
+                 self.trUtf8("Supplementary Private Use Area-B")),
             ])
         self.__currentTableIndex = 0
     
@@ -435,7 +456,8 @@
         @param char character to test (one character string)
         @return flag indicating a punctuation character (boolean)
         """
-        return unicodedata.category(char) in ["Pc", "Pd", "Ps", "Pe", "Pi", "Pf", "Po"]
+        return unicodedata.category(char) in ["Pc", "Pd", "Ps", "Pe", "Pi",
+                                              "Pf", "Po"]
 
 
 class SymbolsWidget(QWidget, Ui_SymbolsWidget):
@@ -463,9 +485,11 @@
             self.__currentRowChanged)
         
         if qVersion() >= "5.0.0":
-            self.symbolsTable.horizontalHeader().setSectionResizeMode(QHeaderView.Fixed)
+            self.symbolsTable.horizontalHeader().setSectionResizeMode(
+                QHeaderView.Fixed)
         else:
-            self.symbolsTable.horizontalHeader().setResizeMode(QHeaderView.Fixed)
+            self.symbolsTable.horizontalHeader().setResizeMode(
+                QHeaderView.Fixed)
         fm = self.fontMetrics()
         em = fm.width("M")
         self.symbolsTable.horizontalHeader().resizeSection(0, em * 5)
@@ -473,9 +497,11 @@
         self.symbolsTable.horizontalHeader().resizeSection(2, em * 6)
         self.symbolsTable.horizontalHeader().resizeSection(3, em * 8)
         self.symbolsTable.horizontalHeader().resizeSection(4, em * 85)
-        self.symbolsTable.verticalHeader().setDefaultSectionSize(fm.height() + 4)
+        self.symbolsTable.verticalHeader().setDefaultSectionSize(
+            fm.height() + 4)
         
-        tableIndex = int(Preferences.Prefs.settings.value("Symbols/CurrentTable", 1))
+        tableIndex = int(
+            Preferences.Prefs.settings.value("Symbols/CurrentTable", 1))
         self.tableCombo.addItems(self.__model.getTableNames())
         self.tableCombo.setCurrentIndex(tableIndex)
         
@@ -503,7 +529,8 @@
         Private slot to move the table to the entered symbol id.
         """
         id = self.symbolSpinBox.value()
-        first, last = self.__model.getTableBoundaries(self.__model.getTableIndex())
+        first, last = self.__model.getTableBoundaries(
+            self.__model.getTableIndex())
         row = id - first
         self.symbolsTable.selectRow(row)
         self.symbolsTable.scrollTo(
--- a/UI/UserInterface.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/UserInterface.py	Sun Oct 13 14:56:56 2013 +0200
@@ -11,11 +11,12 @@
 import sys
 import logging
 
-from PyQt4.QtCore import QTimer, QFile, QFileInfo, pyqtSignal, PYQT_VERSION_STR, QDate, \
-    QIODevice, qVersion, QProcess, QSize, QUrl, QObject, Qt
+from PyQt4.QtCore import QTimer, QFile, QFileInfo, pyqtSignal, \
+    PYQT_VERSION_STR, QDate, QIODevice, qVersion, QProcess, QSize, QUrl, \
+    QObject, Qt
 from PyQt4.QtGui import QSizePolicy, QWidget, QKeySequence, QDesktopServices, \
-    QWhatsThis, QToolBar, QDialog, QSplitter, QApplication, QMenu, QProgressDialog, \
-    QVBoxLayout, QDockWidget, QAction, QLabel
+    QWhatsThis, QToolBar, QDialog, QSplitter, QApplication, QMenu, \
+    QProgressDialog, QVBoxLayout, QDockWidget, QAction, QLabel
 from PyQt4.Qsci import QSCINTILLA_VERSION_STR
 from PyQt4.QtNetwork import QNetworkProxyFactory, QNetworkAccessManager, \
     QNetworkRequest, QNetworkReply
@@ -85,7 +86,8 @@
         """
         Private method returning number of characters to write.
         
-        @return number of characters buffered or length of buffered line (integer)
+        @return number of characters buffered or length of buffered line
+            (integer)
         """
         return self.buffer.rfind('\n') + 1
         
@@ -113,10 +115,10 @@
     @signal appendStdout(str) emitted to write data to stdout logger
     @signal preferencesChanged() emitted after the preferences were changed
     @signal reloadAPIs() emitted to reload the api information
-    @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
-            of the menu and a reference to the menu are given.
+    @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The
+        name of the menu and a reference to the menu are given.
     @signal masterPasswordChanged(str, str) emitted after the master
-            password has been changed with the old and the new password
+        password has been changed with the old and the new password
     """
     appendStderr = pyqtSignal(str)
     appendStdout = pyqtSignal(str)
@@ -132,25 +134,29 @@
     BottomSide = 2
     RightSide = 3
     
-    def __init__(self, app, locale, splash, plugin, noOpenAtStartup, restartArguments):
+    def __init__(self, app, locale, splash, plugin, noOpenAtStartup,
+                 restartArguments):
         """
         Constructor
         
         @param app reference to the application object (E5Application)
         @param locale locale to be used by the UI (string)
-        @param splash reference to the splashscreen (UI.SplashScreen.SplashScreen)
-        @param plugin filename of a plugin to be loaded (used for plugin development)
+        @param splash reference to the splashscreen
+            (UI.SplashScreen.SplashScreen)
+        @param plugin filename of a plugin to be loaded (used for plugin
+            development)
         @param noOpenAtStartup flag indicating that the open at startup option
             should not be executed (boolean)
-        @param restartArguments list of command line parameters to be used for a
-            restart (list of strings)
+        @param restartArguments list of command line parameters to be used for
+            a restart (list of strings)
         """
         super().__init__()
         self.setAttribute(Qt.WA_DeleteOnClose)
         
         self.__restartArgs = restartArguments[:]
         
-        self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
+        self.setStyle(Preferences.getUI("Style"),
+                      Preferences.getUI("StyleSheet"))
         
         self.maxEditorPathLen = Preferences.getUI("CaptionFilenameLength")
         self.locale = locale
@@ -242,7 +248,8 @@
         self.browser.designerFile.connect(self.__designer)
         self.browser.linguistFile.connect(self.__linguist4)
         self.browser.projectFile.connect(self.project.openProject)
-        self.browser.multiProjectFile.connect(self.multiProject.openMultiProject)
+        self.browser.multiProjectFile.connect(
+            self.multiProject.openMultiProject)
         self.browser.pixmapEditFile.connect(self.__editPixmap)
         self.browser.pixmapFile.connect(self.__showPixmap)
         self.browser.svgFile.connect(self.__showSvg)
@@ -264,7 +271,8 @@
             self.viewmanager.openSourceFile)
         self.projectBrowser.psBrowser.closeSourceWindow.connect(
             self.viewmanager.closeWindow)
-        self.projectBrowser.psBrowser.unittestOpen.connect(self.__unittestScript)
+        self.projectBrowser.psBrowser.unittestOpen.connect(
+            self.__unittestScript)
         
         self.projectBrowser.pfBrowser.designerFile.connect(self.__designer)
         self.projectBrowser.pfBrowser.sourceFile.connect(
@@ -284,8 +292,10 @@
         self.projectBrowser.ptBrowser.linguistFile.connect(self.__linguist4)
         self.projectBrowser.ptBrowser.sourceFile.connect(
             self.viewmanager.openSourceFile)
-        self.projectBrowser.ptBrowser.trpreview[list].connect(self.__TRPreviewer)
-        self.projectBrowser.ptBrowser.trpreview[list, bool].connect(self.__TRPreviewer)
+        self.projectBrowser.ptBrowser.trpreview[list].connect(
+            self.__TRPreviewer)
+        self.projectBrowser.ptBrowser.trpreview[list, bool].connect(
+            self.__TRPreviewer)
         self.projectBrowser.ptBrowser.closeSourceWindow.connect(
             self.viewmanager.closeWindow)
         self.projectBrowser.ptBrowser.appendStdout.connect(self.appendToStdout)
@@ -311,7 +321,8 @@
         self.project.sourceFile.connect(self.viewmanager.openSourceFile)
         self.project.projectOpened.connect(self.viewmanager.projectOpened)
         self.project.projectClosed.connect(self.viewmanager.projectClosed)
-        self.project.projectFileRenamed.connect(self.viewmanager.projectFileRenamed)
+        self.project.projectFileRenamed.connect(
+            self.viewmanager.projectFileRenamed)
         self.project.lexerAssociationsChanged.connect(
             self.viewmanager.projectLexerAssociationsChanged)
         self.project.newProject.connect(self.__newProject)
@@ -319,15 +330,18 @@
         self.project.projectOpened.connect(self.__activateProjectBrowser)
         self.project.projectClosed.connect(self.__projectClosed)
         
-        self.multiProject.multiProjectOpened.connect(self.__activateMultiProjectBrowser)
+        self.multiProject.multiProjectOpened.connect(
+            self.__activateMultiProjectBrowser)
         
         self.debuggerUI.resetUI.connect(self.viewmanager.handleResetUI)
         self.debuggerUI.resetUI.connect(self.debugViewer.handleResetUI)
         self.debuggerUI.resetUI.connect(self.__debuggingDone)
-        self.debuggerUI.debuggingStarted.connect(self.browser.handleProgramChange)
+        self.debuggerUI.debuggingStarted.connect(
+            self.browser.handleProgramChange)
         self.debuggerUI.debuggingStarted.connect(
             self.debugViewer.exceptionLogger.debuggingStarted)
-        self.debuggerUI.debuggingStarted.connect(self.debugViewer.handleDebuggingStarted)
+        self.debuggerUI.debuggingStarted.connect(
+            self.debugViewer.handleDebuggingStarted)
         self.debuggerUI.debuggingStarted.connect(self.__programChange)
         self.debuggerUI.debuggingStarted.connect(self.__debuggingStarted)
         self.debuggerUI.compileForms.connect(
@@ -338,8 +352,10 @@
         
         debugServer.passiveDebugStarted.connect(
             self.debugViewer.exceptionLogger.debuggingStarted)
-        debugServer.passiveDebugStarted.connect(self.debugViewer.handleDebuggingStarted)
-        debugServer.clientException.connect(self.debugViewer.exceptionLogger.addException)
+        debugServer.passiveDebugStarted.connect(
+            self.debugViewer.handleDebuggingStarted)
+        debugServer.clientException.connect(
+            self.debugViewer.exceptionLogger.addException)
         debugServer.clientLine.connect(
             self.debugViewer.breakpointViewer.highlightBreakpoint)
         debugServer.clientProcessStdout.connect(self.appendToStdout)
@@ -355,7 +371,8 @@
         self.appendStderr.connect(self.logViewer.appendToStderr)
         self.preferencesChanged.connect(self.shell.handlePreferencesChanged)
         self.preferencesChanged.connect(self.project.handlePreferencesChanged)
-        self.preferencesChanged.connect(self.projectBrowser.handlePreferencesChanged)
+        self.preferencesChanged.connect(
+            self.projectBrowser.handlePreferencesChanged)
         self.preferencesChanged.connect(
             self.projectBrowser.psBrowser.handlePreferencesChanged)
         self.preferencesChanged.connect(
@@ -369,7 +386,8 @@
         self.preferencesChanged.connect(
             self.projectBrowser.poBrowser.handlePreferencesChanged)
         self.preferencesChanged.connect(self.browser.handlePreferencesChanged)
-        self.preferencesChanged.connect(self.taskViewer.handlePreferencesChanged)
+        self.preferencesChanged.connect(
+            self.taskViewer.handlePreferencesChanged)
         self.preferencesChanged.connect(self.pluginManager.preferencesChanged)
         self.preferencesChanged.connect(debugServer.preferencesChanged)
         self.preferencesChanged.connect(self.debugViewer.preferencesChanged)
@@ -380,10 +398,12 @@
         self.viewmanager.editorOpened.connect(self.__editorOpened)
         self.viewmanager.changeCaption.connect(self.__setWindowCaption)
         self.viewmanager.checkActions.connect(self.__checkActions)
-        self.viewmanager.editorChanged.connect(self.projectBrowser.handleEditorChanged)
+        self.viewmanager.editorChanged.connect(
+            self.projectBrowser.handleEditorChanged)
         self.viewmanager.editorLineChanged.connect(
             self.projectBrowser.handleEditorLineChanged)
-        self.viewmanager.checkActions.connect(self.cooperation.checkEditorActions)
+        self.viewmanager.checkActions.connect(
+            self.cooperation.checkEditorActions)
         
         self.shell.zoomValueChanged.connect(self.viewmanager.zoomValueChanged)
         
@@ -413,7 +433,8 @@
         
         # create a dummy help window for shortcuts handling
         from Helpviewer.HelpWindow import HelpWindow
-        self.dummyHelpViewer = HelpWindow(None, '.', None, 'help viewer', True, True)
+        self.dummyHelpViewer = \
+            HelpWindow(None, '.', None, 'help viewer', True, True)
         
         # register all relevant objects
         splash.showMessage(self.trUtf8("Registering Objects..."))
@@ -469,7 +490,8 @@
 
         # now fire up the single application server
         if Preferences.getUI("SingleApplicationMode"):
-            splash.showMessage(self.trUtf8("Initializing Single Application Server..."))
+            splash.showMessage(
+                self.trUtf8("Initializing Single Application Server..."))
             self.SAServer = E5SingleApplicationServer()
         else:
             self.SAServer = None
@@ -486,7 +508,8 @@
         
         # restore toolbar manager state
         splash.showMessage(self.trUtf8("Restoring Toolbarmanager..."))
-        self.toolbarManager.restoreState(Preferences.getUI("ToolbarManagerState"))
+        self.toolbarManager.restoreState(
+            Preferences.getUI("ToolbarManagerState"))
         
         # now activate the initial view profile
         splash.showMessage(self.trUtf8("Setting View Profile..."))
@@ -548,7 +571,8 @@
         layout.addWidget(self.viewmanager)
         layout.addWidget(self.viewmanager.searchWidget())
         layout.addWidget(self.viewmanager.replaceWidget())
-        self.viewmanager.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Expanding)
+        self.viewmanager.setSizePolicy(
+            QSizePolicy.Preferred, QSizePolicy.Expanding)
         leftWidget.setLayout(layout)
         self.viewmanager.searchWidget().hide()
         self.viewmanager.replaceWidget().hide()
@@ -574,7 +598,8 @@
             self.__createSidebarsLayout(debugServer)
         
         else:
-            raise ValueError("Wrong layout type given ({0})".format(self.layout))
+            raise ValueError("Wrong layout type given ({0})".format(
+                self.layout))
         logging.debug("Created Layout")
 
     def __createToolboxesLayout(self, debugServer):
@@ -595,7 +620,8 @@
         self.hToolboxDock = self.__createDockWindow("hToolboxDock")
         self.hToolbox = E5HorizontalToolBox(self.hToolboxDock)
         self.__setupDockWindow(self.hToolboxDock, Qt.BottomDockWidgetArea,
-                               self.hToolbox, self.trUtf8("Horizontal Toolbox"))
+                               self.hToolbox,
+                               self.trUtf8("Horizontal Toolbox"))
         
         # Create the right toolbox
         self.rToolboxDock = self.__createDockWindow("rToolboxDock")
@@ -669,7 +695,8 @@
         else:
             # Create the shell
             from QScintilla.Shell import ShellAssembly
-            self.shellAssembly = ShellAssembly(debugServer, self.viewmanager, True)
+            self.shellAssembly = \
+                ShellAssembly(debugServer, self.viewmanager, True)
             self.shell = self.shellAssembly.shell()
             self.hToolbox.insertItem(0, self.shellAssembly,
                                      UI.PixmapCache.getIcon("shell.png"),
@@ -754,15 +781,17 @@
             None,
             embeddedShell=self.embeddedShell,
             embeddedBrowser=(self.embeddedFileBrowser == 1))
-        self.rightSidebar.addTab(self.debugViewer,
-            UI.PixmapCache.getIcon("debugViewer.png"), self.trUtf8("Debug-Viewer"))
+        self.rightSidebar.addTab(
+            self.debugViewer, UI.PixmapCache.getIcon("debugViewer.png"),
+            self.trUtf8("Debug-Viewer"))
 
         # Create the chat part of the user interface
         logging.debug("Creating Chat Widget...")
         from Cooperation.ChatWidget import ChatWidget
         self.cooperation = ChatWidget(self)
-        self.rightSidebar.addTab(self.cooperation,
-            UI.PixmapCache.getIcon("cooperation.png"), self.trUtf8("Cooperation"))
+        self.rightSidebar.addTab(
+            self.cooperation, UI.PixmapCache.getIcon("cooperation.png"),
+            self.trUtf8("Cooperation"))
         
         # Create the IRC part of the user interface
         logging.debug("Creating IRC Widget...")
@@ -776,16 +805,16 @@
         from Tasks.TaskViewer import TaskViewer
         self.taskViewer = TaskViewer(None, self.project)
         self.bottomSidebar.addTab(self.taskViewer,
-                              UI.PixmapCache.getIcon("task.png"),
-                              self.trUtf8("Task-Viewer"))
+                                  UI.PixmapCache.getIcon("task.png"),
+                                  self.trUtf8("Task-Viewer"))
 
         # Create the log viewer part of the user interface
         logging.debug("Creating Log Viewer...")
         from .LogView import LogViewer
         self.logViewer = LogViewer()
         self.bottomSidebar.addTab(self.logViewer,
-                              UI.PixmapCache.getIcon("logViewer.png"),
-                              self.trUtf8("Log-Viewer"))
+                                  UI.PixmapCache.getIcon("logViewer.png"),
+                                  self.trUtf8("Log-Viewer"))
 
         if self.embeddedShell:
             self.shell = self.debugViewer.shell
@@ -793,11 +822,12 @@
             # Create the shell
             logging.debug("Creating Shell...")
             from QScintilla.Shell import ShellAssembly
-            self.shellAssembly = ShellAssembly(debugServer, self.viewmanager, True)
+            self.shellAssembly = \
+                ShellAssembly(debugServer, self.viewmanager, True)
             self.shell = self.shellAssembly.shell()
             self.bottomSidebar.insertTab(0, self.shellAssembly,
-                                     UI.PixmapCache.getIcon("shell.png"),
-                                     self.trUtf8("Shell"))
+                                         UI.PixmapCache.getIcon("shell.png"),
+                                         self.trUtf8("Shell"))
 
         if self.embeddedFileBrowser == 0:   # separate window
             # Create the file browser
@@ -908,7 +938,8 @@
                 if index != -1:
                     container.removeItem(index)
         elif self.layout == "Sidebars":
-            for container in [self.leftSidebar, self.bottomSidebar, self.rightSidebar]:
+            for container in [self.leftSidebar, self.bottomSidebar,
+                              self.rightSidebar]:
                 index = container.indexOf(widget)
                 if index != -1:
                     container.removeTab(index)
@@ -1076,7 +1107,8 @@
 
     def __setupDockWindow(self, dock, where, widget, caption):
         """
-        Private method to configure the dock window created with __createDockWindow().
+        Private method to configure the dock window created with
+        __createDockWindow().
         
         @param dock the dock window (QDockWindow)
         @param where dock area to be docked to (Qt.DockWidgetArea)
@@ -1105,7 +1137,8 @@
         
         if self.passiveMode:
             if not self.capProject and not self.capEditor:
-                self.setWindowTitle(self.trUtf8("{0} - Passive Mode").format(Program))
+                self.setWindowTitle(
+                    self.trUtf8("{0} - Passive Mode").format(Program))
             elif self.capProject and not self.capEditor:
                 self.setWindowTitle(self.trUtf8("{0} - {1} - Passive Mode")\
                     .format(self.capProject, Program))
@@ -1113,15 +1146,18 @@
                 self.setWindowTitle(self.trUtf8("{0} - {1} - Passive Mode")\
                     .format(self.capEditor, Program))
             else:
-                self.setWindowTitle(self.trUtf8("{0} - {1} - {2} - Passive Mode")\
+                self.setWindowTitle(
+                    self.trUtf8("{0} - {1} - {2} - Passive Mode")\
                     .format(self.capProject, self.capEditor, Program))
         else:
             if not self.capProject and not self.capEditor:
                 self.setWindowTitle(Program)
             elif self.capProject and not self.capEditor:
-                self.setWindowTitle("{0} - {1}".format(self.capProject, Program))
+                self.setWindowTitle(
+                    "{0} - {1}".format(self.capProject, Program))
             elif not self.capProject and self.capEditor:
-                self.setWindowTitle("{0} - {1}".format(self.capEditor, Program))
+                self.setWindowTitle(
+                    "{0} - {1}".format(self.capEditor, Program))
             else:
                 self.setWindowTitle("{0} - {1} - {2}".format(
                     self.capProject, self.capEditor, Program))
@@ -1141,9 +1177,9 @@
         self.exitAct.setStatusTip(self.trUtf8('Quit the IDE'))
         self.exitAct.setWhatsThis(self.trUtf8(
             """<b>Quit the IDE</b>"""
-            """<p>This quits the IDE. Any unsaved changes may be saved first."""
-            """ Any Python program being debugged will be stopped and the"""
-            """ preferences will be written to disc.</p>"""
+            """<p>This quits the IDE. Any unsaved changes may be saved"""
+            """ first. Any Python program being debugged will be stopped"""
+            """ and the preferences will be written to disc.</p>"""
         ))
         self.exitAct.triggered[()].connect(self.__quit)
         self.exitAct.setMenuRole(QAction.QuitRole)
@@ -1154,14 +1190,16 @@
                 self.trUtf8('New &Window'),
                 QKeySequence(self.trUtf8("Ctrl+Shift+N", "File|New Window")),
                 0, self, 'new_window')
-        self.newWindowAct.setStatusTip(self.trUtf8('Open a new eric5 instance'))
+        self.newWindowAct.setStatusTip(self.trUtf8(
+            'Open a new eric5 instance'))
         self.newWindowAct.setWhatsThis(self.trUtf8(
             """<b>New Window</b>"""
             """<p>This opens a new instance of the eric5 IDE.</p>"""
         ))
         self.newWindowAct.triggered[()].connect(self.__newWindow)
         self.actions.append(self.newWindowAct)
-        self.newWindowAct.setEnabled(not Preferences.getUI("SingleApplicationMode"))
+        self.newWindowAct.setEnabled(
+            not Preferences.getUI("SingleApplicationMode"))
         
         self.viewProfileActGrp = createActionGroup(self, "viewprofiles", True)
         
@@ -1170,7 +1208,8 @@
                 self.trUtf8('Edit Profile'),
                 0, 0,
                 self.viewProfileActGrp, 'edit_profile', True)
-        self.setEditProfileAct.setStatusTip(self.trUtf8('Activate the edit view profile'))
+        self.setEditProfileAct.setStatusTip(self.trUtf8(
+            'Activate the edit view profile'))
         self.setEditProfileAct.setWhatsThis(self.trUtf8(
             """<b>Edit Profile</b>"""
             """<p>Activate the "Edit View Profile". Windows being shown,"""
@@ -1205,7 +1244,8 @@
             "Switch the input focus to the Project-Viewer window."))
         self.pbActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Project-Viewer</b>"""
-            """<p>This switches the input focus to the Project-Viewer window.</p>"""
+            """<p>This switches the input focus to the Project-Viewer"""
+            """ window.</p>"""
         ))
         self.pbActivateAct.triggered[()].connect(self.__activateProjectBrowser)
         self.actions.append(self.pbActivateAct)
@@ -1220,9 +1260,11 @@
             "Switch the input focus to the Multiproject-Viewer window."))
         self.mpbActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Multiproject-Viewer</b>"""
-            """<p>This switches the input focus to the Multiproject-Viewer window.</p>"""
+            """<p>This switches the input focus to the Multiproject-Viewer"""
+            """ window.</p>"""
         ))
-        self.mpbActivateAct.triggered[()].connect(self.__activateMultiProjectBrowser)
+        self.mpbActivateAct.triggered[()].connect(
+            self.__activateMultiProjectBrowser)
         self.actions.append(self.mpbActivateAct)
         self.addAction(self.mpbActivateAct)
 
@@ -1235,9 +1277,11 @@
             "Switch the input focus to the Debug-Viewer window."))
         self.debugViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Debug-Viewer</b>"""
-            """<p>This switches the input focus to the Debug-Viewer window.</p>"""
+            """<p>This switches the input focus to the Debug-Viewer"""
+            """ window.</p>"""
         ))
-        self.debugViewerActivateAct.triggered[()].connect(self.__activateDebugViewer)
+        self.debugViewerActivateAct.triggered[()].connect(
+            self.__activateDebugViewer)
         self.actions.append(self.debugViewerActivateAct)
         self.addAction(self.debugViewerActivateAct)
 
@@ -1265,7 +1309,8 @@
             "Switch the input focus to the File-Browser window."))
         self.browserActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate File-Browser</b>"""
-            """<p>This switches the input focus to the File-Browser window.</p>"""
+            """<p>This switches the input focus to the File-Browser"""
+            """ window.</p>"""
         ))
         self.browserActivateAct.triggered[()].connect(self.__activateBrowser)
         self.actions.append(self.browserActivateAct)
@@ -1280,9 +1325,11 @@
             "Switch the input focus to the Log-Viewer window."))
         self.logViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Log-Viewer</b>"""
-            """<p>This switches the input focus to the Log-Viewer window.</p>"""
+            """<p>This switches the input focus to the Log-Viewer"""
+            """ window.</p>"""
         ))
-        self.logViewerActivateAct.triggered[()].connect(self.__activateLogViewer)
+        self.logViewerActivateAct.triggered[()].connect(
+            self.__activateLogViewer)
         self.actions.append(self.logViewerActivateAct)
         self.addAction(self.logViewerActivateAct)
 
@@ -1295,30 +1342,35 @@
             "Switch the input focus to the Task-Viewer window."))
         self.taskViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Task-Viewer</b>"""
-            """<p>This switches the input focus to the Task-Viewer window.</p>"""
+            """<p>This switches the input focus to the Task-Viewer"""
+            """ window.</p>"""
         ))
-        self.taskViewerActivateAct.triggered[()].connect(self.__activateTaskViewer)
+        self.taskViewerActivateAct.triggered[()].connect(
+            self.__activateTaskViewer)
         self.actions.append(self.taskViewerActivateAct)
         self.addAction(self.taskViewerActivateAct)
 
-        self.templateViewerActivateAct = E5Action(self.trUtf8('Template-Viewer'),
-                self.trUtf8('Templ&ate-Viewer'),
-                QKeySequence(self.trUtf8("Alt+Shift+A")),
-                0, self,
-                'template_viewer_activate')
+        self.templateViewerActivateAct = E5Action(
+            self.trUtf8('Template-Viewer'),
+            self.trUtf8('Templ&ate-Viewer'),
+            QKeySequence(self.trUtf8("Alt+Shift+A")),
+            0, self,
+            'template_viewer_activate')
         self.templateViewerActivateAct.setStatusTip(self.trUtf8(
             "Switch the input focus to the Template-Viewer window."))
         self.templateViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Template-Viewer</b>"""
-            """<p>This switches the input focus to the Template-Viewer window.</p>"""
+            """<p>This switches the input focus to the Template-Viewer"""
+            """ window.</p>"""
         ))
         self.templateViewerActivateAct.triggered[()].connect(
             self.__activateTemplateViewer)
         self.actions.append(self.templateViewerActivateAct)
         self.addAction(self.templateViewerActivateAct)
 
-        self.ltAct = E5Action(self.trUtf8('Left Toolbox'),
-                self.trUtf8('&Left Toolbox'), 0, 0, self, 'vertical_toolbox', True)
+        self.ltAct = E5Action(
+            self.trUtf8('Left Toolbox'),
+            self.trUtf8('&Left Toolbox'), 0, 0, self, 'vertical_toolbox', True)
         self.ltAct.setStatusTip(self.trUtf8('Toggle the Left Toolbox window'))
         self.ltAct.setWhatsThis(self.trUtf8(
             """<b>Toggle the Left Toolbox window</b>"""
@@ -1328,8 +1380,10 @@
         self.ltAct.triggered[()].connect(self.__toggleLeftToolbox)
         self.actions.append(self.ltAct)
         
-        self.rtAct = E5Action(self.trUtf8('Right Toolbox'),
-                self.trUtf8('&Right Toolbox'), 0, 0, self, 'vertical_toolbox', True)
+        self.rtAct = E5Action(
+            self.trUtf8('Right Toolbox'),
+            self.trUtf8('&Right Toolbox'),
+            0, 0, self, 'vertical_toolbox', True)
         self.rtAct.setStatusTip(self.trUtf8('Toggle the Right Toolbox window'))
         self.rtAct.setWhatsThis(self.trUtf8(
             """<b>Toggle the Right Toolbox window</b>"""
@@ -1342,11 +1396,12 @@
         self.htAct = E5Action(self.trUtf8('Horizontal Toolbox'),
                 self.trUtf8('&Horizontal Toolbox'), 0, 0, self,
                 'horizontal_toolbox', True)
-        self.htAct.setStatusTip(self.trUtf8('Toggle the Horizontal Toolbox window'))
+        self.htAct.setStatusTip(self.trUtf8(
+            'Toggle the Horizontal Toolbox window'))
         self.htAct.setWhatsThis(self.trUtf8(
             """<b>Toggle the Horizontal Toolbox window</b>"""
-            """<p>If the Horizontal Toolbox window is hidden then display it."""
-            """ If it is displayed then close it.</p>"""
+            """<p>If the Horizontal Toolbox window is hidden then display"""
+            """ it. If it is displayed then close it.</p>"""
         ))
         self.htAct.triggered[()].connect(self.__toggleHorizontalToolbox)
         self.actions.append(self.htAct)
@@ -1362,9 +1417,11 @@
         self.lsbAct.triggered[()].connect(self.__toggleLeftSidebar)
         self.actions.append(self.lsbAct)
         
-        self.rsbAct = E5Action(self.trUtf8('Right Sidebar'),
-                self.trUtf8('&Right Sidebar'), 0, 0, self, 'right_sidebar', True)
-        self.rsbAct.setStatusTip(self.trUtf8('Toggle the right sidebar window'))
+        self.rsbAct = E5Action(
+            self.trUtf8('Right Sidebar'),
+            self.trUtf8('&Right Sidebar'), 0, 0, self, 'right_sidebar', True)
+        self.rsbAct.setStatusTip(self.trUtf8(
+            'Toggle the right sidebar window'))
         self.rsbAct.setWhatsThis(self.trUtf8(
             """<b>Toggle the right sidebar window</b>"""
             """<p>If the right sidebar window is hidden then display it."""
@@ -1376,7 +1433,8 @@
         self.bsbAct = E5Action(self.trUtf8('Bottom Sidebar'),
                 self.trUtf8('&Bottom Sidebar'), 0, 0, self,
                 'bottom_sidebar', True)
-        self.bsbAct.setStatusTip(self.trUtf8('Toggle the bottom sidebar window'))
+        self.bsbAct.setStatusTip(self.trUtf8(
+            'Toggle the bottom sidebar window'))
         self.bsbAct.setWhatsThis(self.trUtf8(
             """<b>Toggle the bottom sidebar window</b>"""
             """<p>If the bottom sidebar window is hidden then display it."""
@@ -1395,7 +1453,8 @@
             "Switch the input focus to the Cooperation-Viewer window."))
         self.cooperationViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Cooperation-Viewer</b>"""
-            """<p>This switches the input focus to the Cooperation-Viewer window.</p>"""
+            """<p>This switches the input focus to the Cooperation-Viewer"""
+            """ window.</p>"""
         ))
         self.cooperationViewerActivateAct.triggered[()].connect(
             self.activateCooperationViewer)
@@ -1429,9 +1488,11 @@
             "Switch the input focus to the Symbols-Viewer window."))
         self.symbolsViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Symbols-Viewer</b>"""
-            """<p>This switches the input focus to the Symbols-Viewer window.</p>"""
+            """<p>This switches the input focus to the Symbols-Viewer"""
+            """ window.</p>"""
         ))
-        self.symbolsViewerActivateAct.triggered[()].connect(self.__activateSymbolsViewer)
+        self.symbolsViewerActivateAct.triggered[()].connect(
+            self.__activateSymbolsViewer)
         self.actions.append(self.symbolsViewerActivateAct)
         self.addAction(self.symbolsViewerActivateAct)
 
@@ -1445,9 +1506,11 @@
             "Switch the input focus to the Numbers-Viewer window."))
         self.numbersViewerActivateAct.setWhatsThis(self.trUtf8(
             """<b>Activate Numbers-Viewer</b>"""
-            """<p>This switches the input focus to the Numbers-Viewer window.</p>"""
+            """<p>This switches the input focus to the Numbers-Viewer"""
+            """ window.</p>"""
         ))
-        self.numbersViewerActivateAct.triggered[()].connect(self.__activateNumbersViewer)
+        self.numbersViewerActivateAct.triggered[()].connect(
+            self.__activateNumbersViewer)
         self.actions.append(self.numbersViewerActivateAct)
         self.addAction(self.numbersViewerActivateAct)
 
@@ -1459,11 +1522,11 @@
         self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help'))
         self.whatsThisAct.setWhatsThis(self.trUtf8(
             """<b>Display context sensitive help</b>"""
-            """<p>In What's This? mode, the mouse cursor shows an arrow with a question"""
-            """ mark, and you can click on the interface elements to get a short"""
-            """ description of what they do and how to use them. In dialogs, this"""
-            """ feature can be accessed using the context help button in the"""
-            """ titlebar.</p>"""
+            """<p>In What's This? mode, the mouse cursor shows an arrow with"""
+            """ a question mark, and you can click on the interface elements"""
+            """ to get a short description of what they do and how to use"""
+            """ them. In dialogs, this feature can be accessed using the"""
+            """ context help button in the titlebar.</p>"""
         ))
         self.whatsThisAct.triggered[()].connect(self.__whatsThis)
         self.actions.append(self.whatsThisAct)
@@ -1473,15 +1536,16 @@
                 self.trUtf8('&Helpviewer...'),
                 QKeySequence(self.trUtf8("F1")),
                 0, self, 'helpviewer')
-        self.helpviewerAct.setStatusTip(self.trUtf8('Open the helpviewer window'))
+        self.helpviewerAct.setStatusTip(self.trUtf8(
+            'Open the helpviewer window'))
         self.helpviewerAct.setWhatsThis(self.trUtf8(
             """<b>Helpviewer</b>"""
             """<p>Display the eric5 web browser. This window will show"""
-            """ HTML help files and help from Qt help collections. It has the"""
-            """ capability to navigate to links, set bookmarks, print the displayed"""
-            """ help and some more features. You may use it to browse the internet"""
-            """ as well</p><p>If called with a word selected, this word is search"""
-            """ in the Qt help collection.</p>"""
+            """ HTML help files and help from Qt help collections. It has"""
+            """ the capability to navigate to links, set bookmarks, print"""
+            """ the displayed help and some more features. You may use it to"""
+            """ browse the internet as well</p><p>If called with a word"""
+            """ selected, this word is search in the Qt help collection.</p>"""
         ))
         self.helpviewerAct.triggered[()].connect(self.__helpViewer)
         self.actions.append(self.helpviewerAct)
@@ -1493,7 +1557,8 @@
       
         self.versionAct = E5Action(self.trUtf8('Show Versions'),
                 self.trUtf8('Show &Versions'), 0, 0, self, 'show_versions')
-        self.versionAct.setStatusTip(self.trUtf8('Display version information'))
+        self.versionAct.setStatusTip(self.trUtf8(
+            'Display version information'))
         self.versionAct.setWhatsThis(self.trUtf8(
             """<b>Show Versions</b>"""
             """<p>Display version information.</p>"""
@@ -1501,8 +1566,9 @@
         self.versionAct.triggered[()].connect(self.__showVersions)
         self.actions.append(self.versionAct)
 
-        self.checkUpdateAct = E5Action(self.trUtf8('Check for Updates'),
-                self.trUtf8('Check for &Updates...'), 0, 0, self, 'check_updates')
+        self.checkUpdateAct = E5Action(
+            self.trUtf8('Check for Updates'),
+            self.trUtf8('Check for &Updates...'), 0, 0, self, 'check_updates')
         self.checkUpdateAct.setStatusTip(self.trUtf8('Check for Updates'))
         self.checkUpdateAct.setWhatsThis(self.trUtf8(
             """<b>Check for Updates...</b>"""
@@ -1511,9 +1577,10 @@
         self.checkUpdateAct.triggered[()].connect(self.performVersionCheck)
         self.actions.append(self.checkUpdateAct)
     
-        self.showVersionsAct = E5Action(self.trUtf8('Show downloadable versions'),
-                self.trUtf8('Show &downloadable versions...'),
-                0, 0, self, 'show_downloadable_versions')
+        self.showVersionsAct = E5Action(
+            self.trUtf8('Show downloadable versions'),
+            self.trUtf8('Show &downloadable versions...'),
+            0, 0, self, 'show_downloadable_versions')
         self.showVersionsAct.setStatusTip(
             self.trUtf8('Show the versions available for download'))
         self.showVersionsAct.setWhatsThis(self.trUtf8(
@@ -1521,7 +1588,8 @@
             """<p>Shows the eric5 versions available for download """
             """from the internet.</p>"""
                              ))
-        self.showVersionsAct.triggered[()].connect(self.showAvailableVersionsInfo)
+        self.showVersionsAct.triggered[()].connect(
+            self.showAvailableVersionsInfo)
         self.actions.append(self.showVersionsAct)
 
         self.reportBugAct = E5Action(self.trUtf8('Report Bug'),
@@ -1534,9 +1602,11 @@
         self.reportBugAct.triggered[()].connect(self.__reportBug)
         self.actions.append(self.reportBugAct)
         
-        self.requestFeatureAct = E5Action(self.trUtf8('Request Feature'),
-                self.trUtf8('Request &Feature...'), 0, 0, self, 'request_feature')
-        self.requestFeatureAct.setStatusTip(self.trUtf8('Send a feature request'))
+        self.requestFeatureAct = E5Action(
+            self.trUtf8('Request Feature'),
+            self.trUtf8('Request &Feature...'), 0, 0, self, 'request_feature')
+        self.requestFeatureAct.setStatusTip(self.trUtf8(
+            'Send a feature request'))
         self.requestFeatureAct.setWhatsThis(self.trUtf8(
             """<b>Request Feature...</b>"""
             """<p>Opens a dialog to send a feature request.</p>"""
@@ -1580,7 +1650,8 @@
             'Rerun failed tests of the last run'))
         self.utRerunFailedAct.setWhatsThis(self.trUtf8(
             """<b>Rerun Failed Tests</b>"""
-            """<p>Rerun all tests that failed during the last unittest run.</p>"""
+            """<p>Rerun all tests that failed during the last unittest"""
+            """ run.</p>"""
         ))
         self.utRerunFailedAct.triggered[()].connect(self.__unittestRerunFailed)
         self.utRerunFailedAct.setEnabled(False)
@@ -1590,7 +1661,8 @@
             UI.PixmapCache.getIcon("unittestScript.png"),
             self.trUtf8('Unittest &Script...'),
             0, 0, self.utActGrp, 'unittest_script')
-        self.utScriptAct.setStatusTip(self.trUtf8('Run unittest with current script'))
+        self.utScriptAct.setStatusTip(self.trUtf8(
+            'Run unittest with current script'))
         self.utScriptAct.setWhatsThis(self.trUtf8(
             """<b>Unittest Script</b>"""
             """<p>Run unittest with current script.</p>"""
@@ -1603,7 +1675,8 @@
             UI.PixmapCache.getIcon("unittestProject.png"),
             self.trUtf8('Unittest &Project...'),
             0, 0, self.utActGrp, 'unittest_project')
-        self.utProjectAct.setStatusTip(self.trUtf8('Run unittest with current project'))
+        self.utProjectAct.setStatusTip(self.trUtf8(
+            'Run unittest with current project'))
         self.utProjectAct.setWhatsThis(self.trUtf8(
             """<b>Unittest Project</b>"""
             """<p>Run unittest with current project.</p>"""
@@ -1668,10 +1741,13 @@
         self.uipreviewerAct.triggered[()].connect(self.__UIPreviewer)
         self.actions.append(self.uipreviewerAct)
         
-        self.trpreviewerAct = E5Action(self.trUtf8('Translations Previewer'),
-                UI.PixmapCache.getIcon("trPreviewer.png"),
-                self.trUtf8('&Translations Previewer...'), 0, 0, self, 'tr_previewer')
-        self.trpreviewerAct.setStatusTip(self.trUtf8('Start the Translations Previewer'))
+        self.trpreviewerAct = E5Action(
+            self.trUtf8('Translations Previewer'),
+            UI.PixmapCache.getIcon("trPreviewer.png"),
+            self.trUtf8('&Translations Previewer...'),
+            0, 0, self, 'tr_previewer')
+        self.trpreviewerAct.setStatusTip(self.trUtf8(
+            'Start the Translations Previewer'))
         self.trpreviewerAct.setWhatsThis(self.trUtf8(
             """<b>Translations Previewer</b>"""
             """<p>Start the Translations Previewer.</p>"""
@@ -1731,7 +1807,8 @@
                 UI.PixmapCache.getIcon("ericWeb.png"),
                 self.trUtf8('eric5 &Web Browser...'),
                 0, 0, self, 'web_browser')
-        self.webBrowserAct.setStatusTip(self.trUtf8('Start the eric5 Web Browser'))
+        self.webBrowserAct.setStatusTip(self.trUtf8(
+            'Start the eric5 Web Browser'))
         self.webBrowserAct.setWhatsThis(self.trUtf8(
             """<b>eric5 Web Browser</b>"""
             """<p>Browse the Internet with the eric5 Web Browser.</p>"""
@@ -1743,7 +1820,8 @@
                 UI.PixmapCache.getIcon("iconEditor.png"),
                 self.trUtf8('&Icon Editor...'),
                 0, 0, self, 'icon_editor')
-        self.iconEditorAct.setStatusTip(self.trUtf8('Start the eric5 Icon Editor'))
+        self.iconEditorAct.setStatusTip(self.trUtf8(
+            'Start the eric5 Icon Editor'))
         self.iconEditorAct.setWhatsThis(self.trUtf8(
             """<b>Icon Editor</b>"""
             """<p>Starts the eric5 Icon Editor for editing simple icons.</p>"""
@@ -1755,10 +1833,12 @@
                 UI.PixmapCache.getIcon("ericSnap.png"),
                 self.trUtf8('&Snapshot...'),
                 0, 0, self, 'snapshot')
-        self.snapshotAct.setStatusTip(self.trUtf8('Take snapshots of a screen region'))
+        self.snapshotAct.setStatusTip(self.trUtf8(
+            'Take snapshots of a screen region'))
         self.snapshotAct.setWhatsThis(self.trUtf8(
             """<b>Snapshot</b>"""
-            """<p>This opens a dialog to take snapshots of a screen region.</p>"""
+            """<p>This opens a dialog to take snapshots of a screen"""
+            """ region.</p>"""
         ))
         self.snapshotAct.triggered[()].connect(self.__snapshot)
         self.actions.append(self.snapshotAct)
@@ -1766,7 +1846,8 @@
         self.prefAct = E5Action(self.trUtf8('Preferences'),
                 UI.PixmapCache.getIcon("configure.png"),
                 self.trUtf8('&Preferences...'), 0, 0, self, 'preferences')
-        self.prefAct.setStatusTip(self.trUtf8('Set the prefered configuration'))
+        self.prefAct.setStatusTip(self.trUtf8(
+            'Set the prefered configuration'))
         self.prefAct.setWhatsThis(self.trUtf8(
             """<b>Preferences</b>"""
             """<p>Set the configuration items of the application"""
@@ -1776,10 +1857,13 @@
         self.prefAct.setMenuRole(QAction.PreferencesRole)
         self.actions.append(self.prefAct)
 
-        self.prefExportAct = E5Action(self.trUtf8('Export Preferences'),
-                UI.PixmapCache.getIcon("configureExport.png"),
-                self.trUtf8('E&xport Preferences...'), 0, 0, self, 'export_preferences')
-        self.prefExportAct.setStatusTip(self.trUtf8('Export the current configuration'))
+        self.prefExportAct = E5Action(
+            self.trUtf8('Export Preferences'),
+            UI.PixmapCache.getIcon("configureExport.png"),
+            self.trUtf8('E&xport Preferences...'),
+            0, 0, self, 'export_preferences')
+        self.prefExportAct.setStatusTip(self.trUtf8(
+            'Export the current configuration'))
         self.prefExportAct.setWhatsThis(self.trUtf8(
             """<b>Export Preferences</b>"""
             """<p>Export the current configuration to a file.</p>"""
@@ -1787,9 +1871,11 @@
         self.prefExportAct.triggered[()].connect(self.__exportPreferences)
         self.actions.append(self.prefExportAct)
 
-        self.prefImportAct = E5Action(self.trUtf8('Import Preferences'),
-                UI.PixmapCache.getIcon("configureImport.png"),
-                self.trUtf8('I&mport Preferences...'), 0, 0, self, 'import_preferences')
+        self.prefImportAct = E5Action(
+            self.trUtf8('Import Preferences'),
+            UI.PixmapCache.getIcon("configureImport.png"),
+            self.trUtf8('I&mport Preferences...'),
+            0, 0, self, 'import_preferences')
         self.prefImportAct.setStatusTip(self.trUtf8(
             'Import a previously exported configuration'))
         self.prefImportAct.setWhatsThis(self.trUtf8(
@@ -1801,7 +1887,8 @@
 
         self.reloadAPIsAct = E5Action(self.trUtf8('Reload APIs'),
                 self.trUtf8('Reload &APIs'), 0, 0, self, 'reload_apis')
-        self.reloadAPIsAct.setStatusTip(self.trUtf8('Reload the API information'))
+        self.reloadAPIsAct.setStatusTip(self.trUtf8(
+            'Reload the API information'))
         self.reloadAPIsAct.setWhatsThis(self.trUtf8(
             """<b>Reload APIs</b>"""
             """<p>Reload the API information.</p>"""
@@ -1809,29 +1896,35 @@
         self.reloadAPIsAct.triggered[()].connect(self.__reloadAPIs)
         self.actions.append(self.reloadAPIsAct)
 
-        self.showExternalToolsAct = E5Action(self.trUtf8('Show external tools'),
-                UI.PixmapCache.getIcon("showPrograms.png"),
-                self.trUtf8('Show external &tools'), 0, 0, self, 'show_external_tools')
-        self.showExternalToolsAct.setStatusTip(self.trUtf8('Show external tools'))
+        self.showExternalToolsAct = E5Action(
+            self.trUtf8('Show external tools'),
+            UI.PixmapCache.getIcon("showPrograms.png"),
+            self.trUtf8('Show external &tools'),
+            0, 0, self, 'show_external_tools')
+        self.showExternalToolsAct.setStatusTip(self.trUtf8(
+            'Show external tools'))
         self.showExternalToolsAct.setWhatsThis(self.trUtf8(
             """<b>Show external tools</b>"""
             """<p>Opens a dialog to show the path and versions of all"""
             """ extenal tools used by eric5.</p>"""
         ))
-        self.showExternalToolsAct.triggered[()].connect(self.__showExternalTools)
+        self.showExternalToolsAct.triggered[()].connect(
+            self.__showExternalTools)
         self.actions.append(self.showExternalToolsAct)
 
         self.configViewProfilesAct = E5Action(self.trUtf8('View Profiles'),
                 UI.PixmapCache.getIcon("configureViewProfiles.png"),
                 self.trUtf8('&View Profiles...'), 0, 0, self, 'view_profiles')
-        self.configViewProfilesAct.setStatusTip(self.trUtf8('Configure view profiles'))
+        self.configViewProfilesAct.setStatusTip(self.trUtf8(
+            'Configure view profiles'))
         self.configViewProfilesAct.setWhatsThis(self.trUtf8(
             """<b>View Profiles</b>"""
             """<p>Configure the view profiles. With this dialog you may"""
-            """ set the visibility of the various windows for the predetermined"""
-            """ view profiles.</p>"""
+            """ set the visibility of the various windows for the"""
+            """ predetermined view profiles.</p>"""
         ))
-        self.configViewProfilesAct.triggered[()].connect(self.__configViewProfiles)
+        self.configViewProfilesAct.triggered[()].connect(
+            self.__configViewProfiles)
         self.actions.append(self.configViewProfilesAct)
 
         self.configToolBarsAct = E5Action(self.trUtf8('Toolbars'),
@@ -1847,10 +1940,13 @@
         self.configToolBarsAct.triggered[()].connect(self.__configToolBars)
         self.actions.append(self.configToolBarsAct)
 
-        self.shortcutsAct = E5Action(self.trUtf8('Keyboard Shortcuts'),
-                UI.PixmapCache.getIcon("configureShortcuts.png"),
-                self.trUtf8('Keyboard &Shortcuts...'), 0, 0, self, 'keyboard_shortcuts')
-        self.shortcutsAct.setStatusTip(self.trUtf8('Set the keyboard shortcuts'))
+        self.shortcutsAct = E5Action(
+            self.trUtf8('Keyboard Shortcuts'),
+            UI.PixmapCache.getIcon("configureShortcuts.png"),
+            self.trUtf8('Keyboard &Shortcuts...'),
+            0, 0, self, 'keyboard_shortcuts')
+        self.shortcutsAct.setStatusTip(self.trUtf8(
+            'Set the keyboard shortcuts'))
         self.shortcutsAct.setWhatsThis(self.trUtf8(
             """<b>Keyboard Shortcuts</b>"""
             """<p>Set the keyboard shortcuts of the application"""
@@ -1859,11 +1955,13 @@
         self.shortcutsAct.triggered[()].connect(self.__configShortcuts)
         self.actions.append(self.shortcutsAct)
 
-        self.exportShortcutsAct = E5Action(self.trUtf8('Export Keyboard Shortcuts'),
-                UI.PixmapCache.getIcon("exportShortcuts.png"),
-                self.trUtf8('&Export Keyboard Shortcuts...'), 0, 0, self,
-                'export_keyboard_shortcuts')
-        self.exportShortcutsAct.setStatusTip(self.trUtf8('Export the keyboard shortcuts'))
+        self.exportShortcutsAct = E5Action(
+            self.trUtf8('Export Keyboard Shortcuts'),
+            UI.PixmapCache.getIcon("exportShortcuts.png"),
+            self.trUtf8('&Export Keyboard Shortcuts...'),
+            0, 0, self, 'export_keyboard_shortcuts')
+        self.exportShortcutsAct.setStatusTip(self.trUtf8(
+            'Export the keyboard shortcuts'))
         self.exportShortcutsAct.setWhatsThis(self.trUtf8(
             """<b>Export Keyboard Shortcuts</b>"""
             """<p>Export the keyboard shortcuts of the application.</p>"""
@@ -1871,11 +1969,13 @@
         self.exportShortcutsAct.triggered[()].connect(self.__exportShortcuts)
         self.actions.append(self.exportShortcutsAct)
 
-        self.importShortcutsAct = E5Action(self.trUtf8('Import Keyboard Shortcuts'),
-                UI.PixmapCache.getIcon("importShortcuts.png"),
-                self.trUtf8('&Import Keyboard Shortcuts...'), 0, 0, self,
-                'import_keyboard_shortcuts')
-        self.importShortcutsAct.setStatusTip(self.trUtf8('Import the keyboard shortcuts'))
+        self.importShortcutsAct = E5Action(
+            self.trUtf8('Import Keyboard Shortcuts'),
+            UI.PixmapCache.getIcon("importShortcuts.png"),
+            self.trUtf8('&Import Keyboard Shortcuts...'),
+            0, 0, self, 'import_keyboard_shortcuts')
+        self.importShortcutsAct.setStatusTip(self.trUtf8(
+            'Import the keyboard shortcuts'))
         self.importShortcutsAct.setWhatsThis(self.trUtf8(
             """<b>Import Keyboard Shortcuts</b>"""
             """<p>Import the keyboard shortcuts of the application.</p>"""
@@ -1884,40 +1984,46 @@
         self.actions.append(self.importShortcutsAct)
 
         if SSL_AVAILABLE:
-            self.certificatesAct = E5Action(self.trUtf8('Manage SSL Certificates'),
-                    UI.PixmapCache.getIcon("certificates.png"),
-                    self.trUtf8('Manage SSL Certificates...'),
-                    0, 0,
-                    self, 'manage_ssl_certificates')
+            self.certificatesAct = E5Action(
+                self.trUtf8('Manage SSL Certificates'),
+                UI.PixmapCache.getIcon("certificates.png"),
+                self.trUtf8('Manage SSL Certificates...'),
+                0, 0, self, 'manage_ssl_certificates')
             self.certificatesAct.setStatusTip(self.trUtf8(
                 'Manage the saved SSL certificates'))
             self.certificatesAct.setWhatsThis(self.trUtf8(
                 """<b>Manage SSL Certificates...</b>"""
-                """<p>Opens a dialog to manage the saved SSL certificates.</p>"""
+                """<p>Opens a dialog to manage the saved SSL certificates."""
+                """</p>"""
             ))
-            self.certificatesAct.triggered[()].connect(self.__showCertificatesDialog)
+            self.certificatesAct.triggered[()].connect(
+                self.__showCertificatesDialog)
             self.actions.append(self.certificatesAct)
         
-        self.editMessageFilterAct = E5Action(self.trUtf8('Edit Message Filters'),
-                UI.PixmapCache.getIcon("warning.png"),
-                self.trUtf8('Edit Message Filters...'), 0, 0, self,
-                'manage_message_filters')
+        self.editMessageFilterAct = E5Action(
+            self.trUtf8('Edit Message Filters'),
+            UI.PixmapCache.getIcon("warning.png"),
+            self.trUtf8('Edit Message Filters...'),
+            0, 0, self, 'manage_message_filters')
         self.editMessageFilterAct.setStatusTip(self.trUtf8(
             'Edit the message filters used to suppress unwanted messages'))
         self.editMessageFilterAct.setWhatsThis(self.trUtf8(
             """<b>Edit Message Filters</b>"""
-            """<p>Opens a dialog to edit the message filters used to suppress"""
-            """ unwanted messages been shown in an error window.</p>"""
+            """<p>Opens a dialog to edit the message filters used to"""
+            """ suppress unwanted messages been shown in an error"""
+            """ window.</p>"""
         ))
-        self.editMessageFilterAct.triggered[()].connect(E5ErrorMessage.editMessageFilters)
+        self.editMessageFilterAct.triggered[()].connect(
+            E5ErrorMessage.editMessageFilters)
         self.actions.append(self.editMessageFilterAct)
 
-        self.viewmanagerActivateAct = E5Action(self.trUtf8('Activate current editor'),
-                self.trUtf8('Activate current editor'),
-                QKeySequence(self.trUtf8("Alt+Shift+E")),
-                0, self,
-                'viewmanager_activate', 1)
-        self.viewmanagerActivateAct.triggered[()].connect(self.__activateViewmanager)
+        self.viewmanagerActivateAct = E5Action(
+            self.trUtf8('Activate current editor'),
+            self.trUtf8('Activate current editor'),
+            QKeySequence(self.trUtf8("Alt+Shift+E")),
+            0, self, 'viewmanager_activate', 1)
+        self.viewmanagerActivateAct.triggered[()].connect(
+            self.__activateViewmanager)
         self.actions.append(self.viewmanagerActivateAct)
         self.addAction(self.viewmanagerActivateAct)
 
@@ -1957,9 +2063,11 @@
         self.pluginInfoAct.triggered[()].connect(self.__showPluginInfo)
         self.actions.append(self.pluginInfoAct)
         
-        self.pluginInstallAct = E5Action(self.trUtf8('Install Plugins'),
-                UI.PixmapCache.getIcon("pluginInstall.png"),
-                self.trUtf8('&Install Plugins...'), 0, 0, self, 'plugin_install')
+        self.pluginInstallAct = E5Action(
+            self.trUtf8('Install Plugins'),
+            UI.PixmapCache.getIcon("pluginInstall.png"),
+            self.trUtf8('&Install Plugins...'),
+            0, 0, self, 'plugin_install')
         self.pluginInstallAct.setStatusTip(self.trUtf8('Install Plugins'))
         self.pluginInstallAct.setWhatsThis(self.trUtf8(
             """<b>Install Plugins...</b>"""
@@ -1968,9 +2076,11 @@
         self.pluginInstallAct.triggered[()].connect(self.__installPlugins)
         self.actions.append(self.pluginInstallAct)
         
-        self.pluginDeinstallAct = E5Action(self.trUtf8('Uninstall Plugin'),
-                UI.PixmapCache.getIcon("pluginUninstall.png"),
-                self.trUtf8('&Uninstall Plugin...'), 0, 0, self, 'plugin_deinstall')
+        self.pluginDeinstallAct = E5Action(
+            self.trUtf8('Uninstall Plugin'),
+            UI.PixmapCache.getIcon("pluginUninstall.png"),
+            self.trUtf8('&Uninstall Plugin...'),
+            0, 0, self, 'plugin_deinstall')
         self.pluginDeinstallAct.setStatusTip(self.trUtf8('Uninstall Plugin'))
         self.pluginDeinstallAct.setWhatsThis(self.trUtf8(
             """<b>Uninstall Plugin...</b>"""
@@ -1979,9 +2089,11 @@
         self.pluginDeinstallAct.triggered[()].connect(self.__deinstallPlugin)
         self.actions.append(self.pluginDeinstallAct)
 
-        self.pluginRepoAct = E5Action(self.trUtf8('Plugin Repository'),
-                UI.PixmapCache.getIcon("pluginRepository.png"),
-                self.trUtf8('Plugin &Repository...'), 0, 0, self, 'plugin_repository')
+        self.pluginRepoAct = E5Action(
+            self.trUtf8('Plugin Repository'),
+            UI.PixmapCache.getIcon("pluginRepository.png"),
+            self.trUtf8('Plugin &Repository...'),
+            0, 0, self, 'plugin_repository')
         self.pluginRepoAct.setStatusTip(self.trUtf8(
             'Show Plugins available for download'))
         self.pluginRepoAct.setWhatsThis(self.trUtf8(
@@ -2008,52 +2120,62 @@
         """
         Private slot to initialize the action to show the Qt documentation.
         """
-        self.qt4DocAct = E5Action(self.trUtf8('Qt4 Documentation'),
-                self.trUtf8('Qt&4 Documentation'), 0, 0, self, 'qt4_documentation')
+        self.qt4DocAct = E5Action(
+            self.trUtf8('Qt4 Documentation'),
+            self.trUtf8('Qt&4 Documentation'),
+            0, 0, self, 'qt4_documentation')
         self.qt4DocAct.setStatusTip(self.trUtf8('Open Qt4 Documentation'))
         self.qt4DocAct.setWhatsThis(self.trUtf8(
             """<b>Qt4 Documentation</b>"""
-            """<p>Display the Qt4 Documentation. Dependant upon your settings, this"""
-            """ will either show the help in Eric's internal help viewer, or execute"""
-            """ a web browser or Qt Assistant. </p>"""
+            """<p>Display the Qt4 Documentation. Dependent upon your"""
+            """ settings, this will either show the help in Eric's internal"""
+            """ help viewer, or execute a web browser or Qt Assistant. </p>"""
         ))
         self.qt4DocAct.triggered[()].connect(self.__showQt4Doc)
         self.actions.append(self.qt4DocAct)
       
-        self.qt5DocAct = E5Action(self.trUtf8('Qt5 Documentation'),
-                self.trUtf8('Qt&5 Documentation'), 0, 0, self, 'qt5_documentation')
+        self.qt5DocAct = E5Action(
+            self.trUtf8('Qt5 Documentation'),
+            self.trUtf8('Qt&5 Documentation'),
+            0, 0, self, 'qt5_documentation')
         self.qt5DocAct.setStatusTip(self.trUtf8('Open Qt5 Documentation'))
         self.qt5DocAct.setWhatsThis(self.trUtf8(
             """<b>Qt5 Documentation</b>"""
-            """<p>Display the Qt5 Documentation. Dependant upon your settings, this"""
-            """ will either show the help in Eric's internal help viewer, or execute"""
-            """ a web browser or Qt Assistant. </p>"""
+            """<p>Display the Qt5 Documentation. Dependent upon your"""
+            """ settings, this will either show the help in Eric's internal"""
+            """ help viewer, or execute a web browser or Qt Assistant. </p>"""
         ))
         self.qt5DocAct.triggered[()].connect(self.__showQt5Doc)
         self.actions.append(self.qt5DocAct)
       
-        self.pyqt4DocAct = E5Action(self.trUtf8('PyQt4 Documentation'),
-                self.trUtf8('PyQt&4 Documentation'), 0, 0, self, 'pyqt4_documentation')
+        self.pyqt4DocAct = E5Action(
+            self.trUtf8('PyQt4 Documentation'),
+            self.trUtf8('PyQt&4 Documentation'),
+            0, 0, self, 'pyqt4_documentation')
         self.pyqt4DocAct.setStatusTip(self.trUtf8('Open PyQt4 Documentation'))
         self.pyqt4DocAct.setWhatsThis(self.trUtf8(
             """<b>PyQt4 Documentation</b>"""
-            """<p>Display the PyQt4 Documentation. Dependant upon your settings, this"""
-            """ will either show the help in Eric's internal help viewer, or execute"""
-            """ a web browser or Qt Assistant. </p>"""
+            """<p>Display the PyQt4 Documentation. Dependent upon your"""
+            """ settings, this will either show the help in Eric's internal"""
+            """ help viewer, or execute a web browser or Qt Assistant. </p>"""
         ))
         self.pyqt4DocAct.triggered[()].connect(self.__showPyQt4Doc)
         self.actions.append(self.pyqt4DocAct)
         
         try:
             import PyQt5        # __IGNORE_WARNING__
-            self.pyqt5DocAct = E5Action(self.trUtf8('PyQt5 Documentation'),
-                self.trUtf8('PyQt&5 Documentation'), 0, 0, self, 'pyqt5_documentation')
-            self.pyqt5DocAct.setStatusTip(self.trUtf8('Open PyQt5 Documentation'))
+            self.pyqt5DocAct = E5Action(
+                self.trUtf8('PyQt5 Documentation'),
+                self.trUtf8('PyQt&5 Documentation'),
+                0, 0, self, 'pyqt5_documentation')
+            self.pyqt5DocAct.setStatusTip(self.trUtf8(
+                'Open PyQt5 Documentation'))
             self.pyqt5DocAct.setWhatsThis(self.trUtf8(
                 """<b>PyQt5 Documentation</b>"""
-                """<p>Display the PyQt5 Documentation. Dependant upon your settings,"""
-                """ this will either show the help in Eric's internal help viewer,"""
-                """ or execute a web browser or Qt Assistant. </p>"""
+                """<p>Display the PyQt5 Documentation. Dependent upon your"""
+                """ settings, this will either show the help in Eric's"""
+                """ internal help viewer, or execute a web browser or"""
+                """ Qt Assistant. </p>"""
             ))
             self.pyqt5DocAct.triggered[()].connect(self.__showPyQt5Doc)
             self.actions.append(self.pyqt5DocAct)
@@ -2062,36 +2184,43 @@
         
     def __initPythonDocActions(self):
         """
-        Private slot to initialize the actions to show the Python documentation.
-        """
-        self.pythonDocAct = E5Action(self.trUtf8('Python 3 Documentation'),
-            self.trUtf8('Python &3 Documentation'), 0, 0, self, 'python3_documentation')
-        self.pythonDocAct.setStatusTip(self.trUtf8('Open Python 3 Documentation'))
+        Private slot to initialize the actions to show the Python
+        documentation.
+        """
+        self.pythonDocAct = E5Action(
+            self.trUtf8('Python 3 Documentation'),
+            self.trUtf8('Python &3 Documentation'),
+            0, 0, self, 'python3_documentation')
+        self.pythonDocAct.setStatusTip(self.trUtf8(
+            'Open Python 3 Documentation'))
         self.pythonDocAct.setWhatsThis(self.trUtf8(
-                """<b>Python 3 Documentation</b>"""
-                """<p>Display the Python 3 documentation."""
-                """ If no documentation directory is configured,"""
-                """ the location of the Python 3 documentation is assumed to be the doc"""
-                """ directory underneath the location of the Python 3 executable on"""
-                """ Windows and <i>/usr/share/doc/packages/python/html</i> on Unix."""
-                """ Set PYTHON3DOCDIR in your environment to override this. </p>"""
+            """<b>Python 3 Documentation</b>"""
+            """<p>Display the Python 3 documentation. If no documentation"""
+            """ directory is configured, the location of the Python 3"""
+            """ documentation is assumed to be the doc directory underneath"""
+            """ the location of the Python 3 executable on Windows and"""
+            """ <i>/usr/share/doc/packages/python/html</i> on Unix. Set"""
+            """ PYTHON3DOCDIR in your environment to override this.</p>"""
         ))
         self.pythonDocAct.triggered[()].connect(self.__showPythonDoc)
         self.actions.append(self.pythonDocAct)
         
-        self.python2DocAct = E5Action(self.trUtf8('Python 2 Documentation'),
-            self.trUtf8('Python &2 Documentation'), 0, 0, self, 'python2_documentation')
-        self.python2DocAct.setStatusTip(self.trUtf8('Open Python 2 Documentation'))
+        self.python2DocAct = E5Action(
+            self.trUtf8('Python 2 Documentation'),
+            self.trUtf8('Python &2 Documentation'),
+            0, 0, self, 'python2_documentation')
+        self.python2DocAct.setStatusTip(self.trUtf8(
+            'Open Python 2 Documentation'))
         self.python2DocAct.setWhatsThis(self.trUtf8(
-                """<b>Python 2 Documentation</b>"""
-                """<p>Display the Python 2 documentation."""
-                """ If no documentation directory is configured,"""
-                """ the location of the Python 2 documentation is assumed to be the doc"""
-                """ directory underneath the location of the configured Python 2"""
-                """ executable on Windows and"""
-                """ <i>/usr/share/doc/packages/python/html/python-docs-html</i>"""
-                """ on Unix. Set PYTHON2DOCDIR in your environment to override"""
-                """ this. </p>"""
+            """<b>Python 2 Documentation</b>"""
+            """<p>Display the Python 2 documentation. If no documentation"""
+            """ directory is configured, the location of the Python 2"""
+            """ documentation is assumed to be the doc directory underneath"""
+            """ the location of the configured Python 2 executable on"""
+            """ Windows and"""
+            """ <i>/usr/share/doc/packages/python/html/python-docs-html</i>"""
+            """ on Unix. Set PYTHON2DOCDIR in your environment to override"""
+            """ this. </p>"""
         ))
         self.python2DocAct.triggered[()].connect(self.__showPython2Doc)
         self.actions.append(self.python2DocAct)
@@ -2100,14 +2229,17 @@
         """
         Private slot to initialize the action to show the eric5 documentation.
         """
-        self.ericDocAct = E5Action(self.trUtf8("Eric API Documentation"),
-            self.trUtf8('&Eric API Documentation'), 0, 0, self, 'eric_documentation')
-        self.ericDocAct.setStatusTip(self.trUtf8("Open Eric API Documentation"))
+        self.ericDocAct = E5Action(
+            self.trUtf8("Eric API Documentation"),
+            self.trUtf8('&Eric API Documentation'),
+            0, 0, self, 'eric_documentation')
+        self.ericDocAct.setStatusTip(self.trUtf8(
+            "Open Eric API Documentation"))
         self.ericDocAct.setWhatsThis(self.trUtf8(
             """<b>Eric API Documentation</b>"""
-            """<p>Display the Eric API documentation."""
-            """ The location for the documentation is the Documentation/Source"""
-            """ subdirectory of the eric5 installation directory.</p>"""
+            """<p>Display the Eric API documentation. The location for the"""
+            """ documentation is the Documentation/Source subdirectory of"""
+            """ the eric5 installation directory.</p>"""
         ))
         self.ericDocAct.triggered[()].connect(self.__showEricDoc)
         self.actions.append(self.ericDocAct)
@@ -2118,14 +2250,18 @@
         """
         pyside2, pyside3 = Utilities.checkPyside()
         if pyside2 or pyside3:
-            self.pysideDocAct = E5Action(self.trUtf8('PySide Documentation'),
-                self.trUtf8('Py&Side Documentation'), 0, 0, self, 'pyside_documentation')
-            self.pysideDocAct.setStatusTip(self.trUtf8('Open PySide Documentation'))
+            self.pysideDocAct = E5Action(
+                self.trUtf8('PySide Documentation'),
+                self.trUtf8('Py&Side Documentation'),
+                0, 0, self, 'pyside_documentation')
+            self.pysideDocAct.setStatusTip(self.trUtf8(
+                'Open PySide Documentation'))
             self.pysideDocAct.setWhatsThis(self.trUtf8(
                 """<b>PySide Documentation</b>"""
-                """<p>Display the PySide Documentation. Dependant upon your settings, """
-                """this will either show the help in Eric's internal help viewer, or """
-                """execute a web browser or Qt Assistant. </p>"""
+                """<p>Display the PySide Documentation. Dependent upon your"""
+                """ settings, this will either show the help in Eric's"""
+                """ internal help viewer, or execute a web browser or"""
+                """ Qt Assistant. </p>"""
             ))
             self.pysideDocAct.triggered[()].connect(self.__showPySideDoc)
             self.actions.append(self.pysideDocAct)
@@ -2154,7 +2290,8 @@
         self.__menus["view"] = self.viewmanager.initViewMenu()
         mb.addMenu(self.__menus["view"])
         
-        self.__menus["start"], self.__menus["debug"] = self.debuggerUI.initMenus()
+        self.__menus["start"], self.__menus["debug"] = \
+            self.debuggerUI.initMenus()
         mb.addMenu(self.__menus["start"])
         mb.addMenu(self.__menus["debug"])
         
@@ -2183,7 +2320,8 @@
         self.__menus["wizards"] = QMenu(self.trUtf8('Wi&zards'), self)
         self.__menus["wizards"].setTearOffEnabled(True)
         self.__menus["wizards"].aboutToShow.connect(self.__showWizardsMenu)
-        self.wizardsMenuAct = self.__menus["extras"].addMenu(self.__menus["wizards"])
+        self.wizardsMenuAct = self.__menus["extras"].addMenu(
+            self.__menus["wizards"])
         self.wizardsMenuAct.setEnabled(False)
         self.__menus["macros"] = self.viewmanager.initMacroMenu()
         self.__menus["extras"].addMenu(self.__menus["macros"])
@@ -2224,7 +2362,8 @@
         self.__menus["window"].setTearOffEnabled(True)
         self.__menus["window"].aboutToShow.connect(self.__showWindowMenu)
         
-        self.__menus["subwindow"] = QMenu(self.trUtf8("&Windows"), self.__menus["window"])
+        self.__menus["subwindow"] = QMenu(self.trUtf8("&Windows"),
+                                          self.__menus["window"])
         self.__menus["subwindow"].setTearOffEnabled(True)
         # left side
         self.__menus["subwindow"].addAction(self.pbActivateAct)
@@ -2309,7 +2448,8 @@
         """
         filetb = self.viewmanager.initFileToolbar(self.toolbarManager)
         edittb = self.viewmanager.initEditToolbar(self.toolbarManager)
-        searchtb, quicksearchtb = self.viewmanager.initSearchToolbars(self.toolbarManager)
+        searchtb, quicksearchtb = self.viewmanager.initSearchToolbars(
+            self.toolbarManager)
         viewtb = self.viewmanager.initViewToolbar(self.toolbarManager)
         starttb, debugtb = self.debuggerUI.initToolbars(self.toolbarManager)
         multiprojecttb = self.multiProject.initToolbar(self.toolbarManager)
@@ -2388,8 +2528,10 @@
         settingstb.addAction(self.shortcutsAct)
         settingstb.addAction(self.showExternalToolsAct)
         self.toolbarManager.addToolBar(settingstb, settingstb.windowTitle())
-        self.toolbarManager.addAction(self.exportShortcutsAct, settingstb.windowTitle())
-        self.toolbarManager.addAction(self.importShortcutsAct, settingstb.windowTitle())
+        self.toolbarManager.addAction(
+            self.exportShortcutsAct, settingstb.windowTitle())
+        self.toolbarManager.addAction(
+            self.importShortcutsAct, settingstb.windowTitle())
         
         # setup the help toolbar
         helptb.addAction(self.whatsThisAct)
@@ -2452,10 +2594,13 @@
         self.__toolbars["settings"] = [settingstb.windowTitle(), settingstb]
         self.__toolbars["bookmarks"] = [bookmarktb.windowTitle(), bookmarktb]
         self.__toolbars["unittest"] = [unittesttb.windowTitle(), unittesttb]
-        self.__toolbars["view_profiles"] = [profilestb.windowTitle(), profilestb]
+        self.__toolbars["view_profiles"] = [profilestb.windowTitle(),
+                                            profilestb]
         self.__toolbars["plugins"] = [pluginstb.windowTitle(), pluginstb]
-        self.__toolbars["quicksearch"] = [quicksearchtb.windowTitle(), quicksearchtb]
-        self.__toolbars["multiproject"] = [multiprojecttb.windowTitle(), multiprojecttb]
+        self.__toolbars["quicksearch"] = [quicksearchtb.windowTitle(),
+                                          quicksearchtb]
+        self.__toolbars["multiproject"] = [multiprojecttb.windowTitle(),
+                                           multiprojecttb]
         self.__toolbars["spelling"] = [spellingtb.windowTitle(), spellingtb]
         
     def __initDebugToolbarsLayout(self):
@@ -2513,15 +2658,15 @@
         self.sbLine = QLabel(self.__statusBar)
         self.__statusBar.addPermanentWidget(self.sbLine)
         self.sbLine.setWhatsThis(self.trUtf8(
-            """<p>This part of the status bar displays the line number of the"""
-            """ current editor.</p>"""
+            """<p>This part of the status bar displays the line number of"""
+            """ the current editor.</p>"""
         ))
 
         self.sbPos = QLabel(self.__statusBar)
         self.__statusBar.addPermanentWidget(self.sbPos)
         self.sbPos.setWhatsThis(self.trUtf8(
-            """<p>This part of the status bar displays the cursor position of"""
-            """ the current editor.</p>"""
+            """<p>This part of the status bar displays the cursor position"""
+            """ of the current editor.</p>"""
         ))
         
         self.sbZoom = E5ZoomWidget(UI.PixmapCache.getPixmap("zoomOut.png"),
@@ -2530,13 +2675,13 @@
             self.__statusBar)
         self.__statusBar.addPermanentWidget(self.sbZoom)
         self.sbZoom.setWhatsThis(self.trUtf8(
-            """<p>This part of the status bar allows zooming the current editor,"""
-            """ shell or terminal.</p>"""
+            """<p>This part of the status bar allows zooming the current"""
+            """ editor, shell or terminal.</p>"""
         ))
         
-        self.viewmanager.setSbInfo(self.sbLine, self.sbPos, self.sbWritable,
-                                   self.sbEncoding, self.sbLanguage, self.sbEol,
-                                   self.sbZoom)
+        self.viewmanager.setSbInfo(
+            self.sbLine, self.sbPos, self.sbWritable, self.sbEncoding,
+            self.sbLanguage, self.sbEol, self.sbZoom)
 
         from VCS.StatusMonitorLed import StatusMonitorLed
         self.sbVcsMonitorLed = StatusMonitorLed(self.project, self.__statusBar)
@@ -2551,8 +2696,8 @@
             category = self.trUtf8("External Tools/{0}").format(toolGroup[0])
             for tool in toolGroup[1]:
                 if tool['menutext'] != '--':
-                    act = QAction(UI.PixmapCache.getIcon(tool['icon']), tool['menutext'],
-                                  self)
+                    act = QAction(UI.PixmapCache.getIcon(tool['icon']),
+                                  tool['menutext'], self)
                     act.setObjectName("{0}@@{1}".format(toolGroup[0],
                                       tool['menutext']))
                     act.triggered[()].connect(self.__toolActionTriggered)
@@ -2562,7 +2707,8 @@
     
     def __updateExternalToolsActions(self):
         """
-        Private method to update the external tools actions for the current tool group.
+        Private method to update the external tools actions for the current
+        tool group.
         """
         toolGroup = self.toolGroups[self.currentToolGroup]
         groupkey = "{0}@@".format(toolGroup[0])
@@ -2592,8 +2738,8 @@
             if tool['menutext'] != '--':
                 key = "{0}@@{1}".format(toolGroup[0], tool['menutext'])
                 if key not in groupActionKeys:
-                    act = QAction(UI.PixmapCache.getIcon(tool['icon']), tool['menutext'],
-                                  self)
+                    act = QAction(UI.PixmapCache.getIcon(tool['icon']),
+                                  tool['menutext'], self)
                     act.setObjectName(key)
                     act.triggered[()].connect(self.__toolActionTriggered)
                     self.toolGroupActions[key] = act
@@ -2631,7 +2777,8 @@
         """
         Private slot to show the Settings menu.
         """
-        self.editMessageFilterAct.setEnabled(E5ErrorMessage.messageHandlerInstalled())
+        self.editMessageFilterAct.setEnabled(
+            E5ErrorMessage.messageHandlerInstalled())
         
         self.showMenu.emit("Settings", self.__menus["settings"])
     
@@ -2657,7 +2804,8 @@
     
     def __switchTab(self):
         """
-        Private slot used to switch between the current and the previous current tab.
+        Private slot used to switch between the current and the previous
+        current tab.
         """
         fwidget = QApplication.focusWidget()
         while fwidget and not hasattr(fwidget, 'switchTab'):
@@ -2724,8 +2872,8 @@
         
         @param mode mode of the email dialog (string, "bug" or "feature")
         @param attachFile name of a file to attach to the email (string)
-        @param deleteAttachFile flag indicating to delete the attached file after
-            it has been sent (boolean)
+        @param deleteAttachFile flag indicating to delete the attached file
+            after it has been sent (boolean)
         """
         if Preferences.getUser("UseSystemEmailClient"):
             self.__showSystemEmailClient(mode, attachFile, deleteAttachFile)
@@ -2734,9 +2882,10 @@
                Preferences.getUser("MailServer") == "":
                 E5MessageBox.critical(self,
                     self.trUtf8("Report Bug"),
-                    self.trUtf8("""Email address or mail server address is empty."""
-                                """ Please configure your Email settings in the"""
-                                """ Preferences Dialog."""))
+                    self.trUtf8(
+                        """Email address or mail server address is empty."""
+                        """ Please configure your Email settings in the"""
+                        """ Preferences Dialog."""))
                 self.showPreferences("emailPage")
                 return
                 
@@ -2746,7 +2895,8 @@
                 self.dlg.attachFile(attachFile, deleteAttachFile)
             self.dlg.show()
         
-    def __showSystemEmailClient(self, mode, attachFile=None, deleteAttachFile=False):
+    def __showSystemEmailClient(self, mode, attachFile=None,
+                                deleteAttachFile=False):
         """
         Private slot to show the system email dialog.
         
@@ -2780,8 +2930,8 @@
         
     def checkForErrorLog(self):
         """
-        Public method to check for the presence of an error log and ask the user,
-        what to do with it.
+        Public method to check for the presence of an error log and ask the
+        user, what to do with it.
         """
         if Preferences.getUI("CheckErrorLog"):
             logFile = os.path.join(Utilities.getConfigDir(), "eric5_error.log")
@@ -2980,9 +3130,11 @@
         """
         Private method to restart the application.
         """
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Restart application"),
-            self.trUtf8("""The application needs to be restarted. Do it now?"""),
+            self.trUtf8(
+                """The application needs to be restarted. Do it now?"""),
             yesDefault=True)
         
         if res and self.__shutdown():
@@ -3012,7 +3164,8 @@
         self.__menus["tools"].clear()
         
         self.__menus["tools"].addMenu(self.toolGroupsMenu)
-        act = self.__menus["tools"].addAction(self.trUtf8("Configure Tool Groups ..."),
+        act = self.__menus["tools"].addAction(
+            self.trUtf8("Configure Tool Groups ..."),
             self.__toolGroupsConfiguration)
         act.setData(-1)
         act = self.__menus["tools"].addAction(
@@ -3050,7 +3203,8 @@
                         self.__menus["tools"].addSeparator()
                     else:
                         act = self.__menus["tools"].addAction(
-                            UI.PixmapCache.getIcon(tool['icon']), tool['menutext'])
+                            UI.PixmapCache.getIcon(tool['icon']),
+                            tool['menutext'])
                         act.setData(idx)
                     idx += 1
             except IndexError:
@@ -3218,13 +3372,19 @@
                     self.profiles[self.currentProfile][2][5] = state
             # step 2: save the visibility of the windows of the active profile
             if self.layout == "Toolboxes":
-                self.profiles[self.currentProfile][1][0] = self.lToolboxDock.isVisible()
-                self.profiles[self.currentProfile][1][1] = self.hToolboxDock.isVisible()
-                self.profiles[self.currentProfile][1][2] = self.rToolboxDock.isVisible()
+                self.profiles[self.currentProfile][1][0] = \
+                    self.lToolboxDock.isVisible()
+                self.profiles[self.currentProfile][1][1] = \
+                    self.hToolboxDock.isVisible()
+                self.profiles[self.currentProfile][1][2] = \
+                    self.rToolboxDock.isVisible()
             elif self.layout == "Sidebars":
-                self.profiles[self.currentProfile][1][0] = self.leftSidebar.isVisible()
-                self.profiles[self.currentProfile][1][1] = self.bottomSidebar.isVisible()
-                self.profiles[self.currentProfile][1][2] = self.rightSidebar.isVisible()
+                self.profiles[self.currentProfile][1][0] = \
+                    self.leftSidebar.isVisible()
+                self.profiles[self.currentProfile][1][1] = \
+                    self.bottomSidebar.isVisible()
+                self.profiles[self.currentProfile][1][2] = \
+                    self.rightSidebar.isVisible()
             Preferences.setUI("ViewProfiles2", self.profiles)
     
     def __activateViewProfile(self, name, save=True):
@@ -3281,7 +3441,8 @@
             # step 5: make sure that cursor of the shell is visible
             self.shell.ensureCursorVisible()
             
-            # step 6: make sure, that the toolbars and window menu are shown correctly
+            # step 6: make sure, that the toolbars and window menu are
+            #         shown correctly
             if self.__menus["toolbars"].isTearOffMenuVisible():
                 self.__showToolbarsMenu()
             if self.__menus["window"].isTearOffMenuVisible():
@@ -3366,7 +3527,8 @@
             self.leftSidebar.setCurrentWidget(self.projectBrowser)
         else:
             self.projectBrowser.show()
-        self.projectBrowser.currentWidget().setFocus(Qt.ActiveWindowFocusReason)
+        self.projectBrowser.currentWidget().setFocus(
+            Qt.ActiveWindowFocusReason)
         
     def __activateMultiProjectBrowser(self):
         """
@@ -3541,7 +3703,8 @@
         hasFocus = self.leftSidebar.currentWidget().hasFocus()
         shown = self.__toggleWindow(self.leftSidebar)
         if shown:
-            self.leftSidebar.currentWidget().setFocus(Qt.ActiveWindowFocusReason)
+            self.leftSidebar.currentWidget().setFocus(
+                Qt.ActiveWindowFocusReason)
         else:
             if hasFocus:
                 self.__activateViewmanager()
@@ -3553,7 +3716,8 @@
         hasFocus = self.rightSidebar.currentWidget().hasFocus()
         shown = self.__toggleWindow(self.rightSidebar)
         if shown:
-            self.rightSidebar.currentWidget().setFocus(Qt.ActiveWindowFocusReason)
+            self.rightSidebar.currentWidget().setFocus(
+                Qt.ActiveWindowFocusReason)
         else:
             if hasFocus:
                 self.__activateViewmanager()
@@ -3565,7 +3729,8 @@
         hasFocus = self.bottomSidebar.currentWidget().hasFocus()
         shown = self.__toggleWindow(self.bottomSidebar)
         if shown:
-            self.bottomSidebar.currentWidget().setFocus(Qt.ActiveWindowFocusReason)
+            self.bottomSidebar.currentWidget().setFocus(
+                Qt.ActiveWindowFocusReason)
         else:
             if hasFocus:
                 self.__activateViewmanager()
@@ -3653,7 +3818,8 @@
         Private slot to handle the tools configuration menu entry.
         """
         from Preferences.ToolConfigurationDialog import ToolConfigurationDialog
-        dlg = ToolConfigurationDialog(self.toolGroups[self.currentToolGroup][1], self)
+        dlg = ToolConfigurationDialog(
+            self.toolGroups[self.currentToolGroup][1], self)
         if dlg.exec_() == QDialog.Accepted:
             self.toolGroups[self.currentToolGroup][1] = dlg.getToollist()
             self.__updateExternalToolsActions()
@@ -3662,8 +3828,10 @@
         """
         Private slot to handle the tool groups configuration menu entry.
         """
-        from Preferences.ToolGroupConfigurationDialog import ToolGroupConfigurationDialog
-        dlg = ToolGroupConfigurationDialog(self.toolGroups, self.currentToolGroup, self)
+        from Preferences.ToolGroupConfigurationDialog import \
+            ToolGroupConfigurationDialog
+        dlg = ToolGroupConfigurationDialog(
+            self.toolGroups, self.currentToolGroup, self)
         if dlg.exec_() == QDialog.Accepted:
             self.toolGroups, self.currentToolGroup = dlg.getToolGroups()
         
@@ -3675,7 +3843,8 @@
             from PyUnit.UnittestDialog import UnittestDialog
             self.unittestDialog = UnittestDialog(
                 None, self.debuggerUI.debugServer, self, fromEric=True)
-            self.unittestDialog.unittestFile.connect(self.viewmanager.setFileLine)
+            self.unittestDialog.unittestFile.connect(
+                self.viewmanager.setFileLine)
             self.unittestDialog.unittestStopped.connect(self.__unittestStopped)
     
     def __unittestStopped(self):
@@ -3695,7 +3864,8 @@
 
     def __unittestScript(self, prog=None):
         """
-        Private slot for displaying the unittest dialog and run the current script.
+        Private slot for displaying the unittest dialog and run the current
+        script.
         
         @param prog the python program to be opened
         """
@@ -3717,7 +3887,8 @@
         
     def __unittestProject(self):
         """
-        Private slot for displaying the unittest dialog and run the current project.
+        Private slot for displaying the unittest dialog and run the current
+        project.
         """
         fn = self.project.getMainScript(True)
         if fn:
@@ -3742,7 +3913,8 @@
         
     def __unittestRestart(self):
         """
-        Private slot to display the unittest dialog and rerun the last unit test.
+        Private slot to display the unittest dialog and rerun the last
+        unit test.
         """
         self.__createUnitTestDialog()
         self.unittestDialog.show()
@@ -3813,7 +3985,8 @@
                 return
         
         if Utilities.isMacPlatform():
-            designer, args = Utilities.prepareQtMacBundle("designer", version, args)
+            designer, args = Utilities.prepareQtMacBundle(
+                "designer", version, args)
         else:
             if version == 4:
                 designer = os.path.join(
@@ -3854,7 +4027,8 @@
         if fn is not None:
             fn = fn.replace('.qm', '.ts')
             try:
-                if os.path.isfile(fn) and os.path.getsize(fn) and fn not in args:
+                if os.path.isfile(fn) and os.path.getsize(fn) and \
+                        fn not in args:
                     args.append(fn)
                 else:
                     E5MessageBox.critical(self,
@@ -3872,7 +4046,8 @@
                 return
         
         if Utilities.isMacPlatform():
-            linguist, args = Utilities.prepareQtMacBundle("linguist", version, args)
+            linguist, args = Utilities.prepareQtMacBundle(
+                "linguist", version, args)
         else:
             if version == 4:
                 linguist = os.path.join(
@@ -3918,7 +4093,8 @@
             args.append(home)
         
         if Utilities.isMacPlatform():
-            assistant, args = Utilities.prepareQtMacBundle("assistant", version, args)
+            assistant, args = Utilities.prepareQtMacBundle(
+                "assistant", version, args)
         else:
             if version == 4:
                 assistant = os.path.join(
@@ -3958,8 +4134,9 @@
         if not customViewer:
             E5MessageBox.information(self,
                 self.trUtf8("Help"),
-                self.trUtf8("""Currently no custom viewer is selected."""
-                            """ Please use the preferences dialog to specify one."""))
+                self.trUtf8(
+                    """Currently no custom viewer is selected."""
+                    """ Please use the preferences dialog to specify one."""))
             return
             
         proc = QProcess()
@@ -4026,8 +4203,10 @@
                         .format(fn))
                 return
                 
-        if not os.path.isfile(viewer) or not proc.startDetached(sys.executable, args):
-            E5MessageBox.critical(self,
+        if not os.path.isfile(viewer) or \
+                not proc.startDetached(sys.executable, args):
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     '<p>Could not start UI Previewer.<br>'
@@ -4040,7 +4219,8 @@
         
         @param fileNames filenames of forms and/or translations to be previewed
             (list of strings)
-        @param ignore flag indicating non existing files should be ignored (boolean)
+        @param ignore flag indicating non existing files should be ignored
+            (boolean)
         """
         proc = QProcess()
         
@@ -4058,7 +4238,8 @@
                         if not ignore:
                             E5MessageBox.critical(self,
                                 self.trUtf8('Problem'),
-                                self.trUtf8('<p>The file <b>{0}</b> does not exist or'
+                                self.trUtf8(
+                                    '<p>The file <b>{0}</b> does not exist or'
                                     ' is zero length.</p>')
                                     .format(fn))
                             return
@@ -4066,13 +4247,16 @@
                     if not ignore:
                         E5MessageBox.critical(self,
                             self.trUtf8('Problem'),
-                            self.trUtf8('<p>The file <b>{0}</b> does not exist or'
+                            self.trUtf8(
+                                '<p>The file <b>{0}</b> does not exist or'
                                 ' is zero length.</p>')
                                 .format(fn))
                         return
         
-        if not os.path.isfile(viewer) or not proc.startDetached(sys.executable, args):
-            E5MessageBox.critical(self,
+        if not os.path.isfile(viewer) or \
+                not proc.startDetached(sys.executable, args):
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     '<p>Could not start Translation Previewer.<br>'
@@ -4090,8 +4274,10 @@
         args = []
         args.append(browser)
         
-        if not os.path.isfile(browser) or not proc.startDetached(sys.executable, args):
-            E5MessageBox.critical(self,
+        if not os.path.isfile(browser) or \
+                not proc.startDetached(sys.executable, args):
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     '<p>Could not start SQL Browser.<br>'
@@ -4140,8 +4326,10 @@
         args = []
         args.append(snap)
         
-        if not os.path.isfile(snap) or not proc.startDetached(sys.executable, args):
-            E5MessageBox.critical(self,
+        if not os.path.isfile(snap) or \
+                not proc.startDetached(sys.executable, args):
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     '<p>Could not start Snapshot tool.<br>'
@@ -4161,15 +4349,21 @@
                         self.__startToolProcess(tool)
                         return
                 
-                E5MessageBox.information(self,
+                E5MessageBox.information(
+                    self,
                     self.trUtf8("External Tools"),
-                    self.trUtf8("""No tool entry found for external tool '{0}' """
-                        """in tool group '{1}'.""").format(toolMenuText, toolGroupName))
+                    self.trUtf8(
+                        """No tool entry found for external tool '{0}' """
+                        """in tool group '{1}'.""")
+                    .format(toolMenuText, toolGroupName))
                 return
         
-        E5MessageBox.information(self,
+        E5MessageBox.information(
+            self,
             self.trUtf8("External Tools"),
-            self.trUtf8("""No toolgroup entry '{0}' found.""").format(toolGroupName))
+            self.trUtf8("""No toolgroup entry '{0}' found.""")
+                .format(toolGroupName)
+        )
     
     def __toolExecute(self, act):
         """
@@ -4318,8 +4512,10 @@
                 
                 if Utilities.isWindowsPlatform() and not os.path.exists(home):
                     pyversion = sys.hexversion >> 16
-                    vers = "{0:d}{1:d}".format((pyversion >> 8) & 0xff, pyversion & 0xff)
-                    home = os.path.join(pythonDocDir, "python{0}.chm".format(vers))
+                    vers = "{0:d}{1:d}".format((pyversion >> 8) & 0xff,
+                                               pyversion & 0xff)
+                    home = os.path.join(
+                        pythonDocDir, "python{0}.chm".format(vers))
             else:
                 home = pythonDocDir
             
@@ -4364,7 +4560,8 @@
                     default = os.path.join(os.path.dirname(executable), "doc")
                 else:
                     default = ""
-                pythonDocDir = Utilities.getEnvironmentEntry("PYTHON2DOCDIR", default)
+                pythonDocDir = \
+                    Utilities.getEnvironmentEntry("PYTHON2DOCDIR", default)
             else:
                 pythonDocDir = Utilities.getEnvironmentEntry("PYTHON2DOCDIR",
                     '/usr/share/doc/packages/python/html/python-docs-html')
@@ -4548,9 +4745,11 @@
                 if pyqt5DocDir.startswith("file://"):
                     pyqt5DocDir = pyqt5DocDir[7:]
                 if not os.path.splitext(pyqt5DocDir)[1]:
-                    possibleHomes = [\
-                        Utilities.normjoinpath(pyqt5DocDir, 'index.html'),
-                        Utilities.normjoinpath(pyqt5DocDir, 'class_reference.html'),
+                    possibleHomes = [
+                        Utilities.normjoinpath(
+                            pyqt5DocDir, 'index.html'),
+                        Utilities.normjoinpath(
+                            pyqt5DocDir, 'class_reference.html'),
                     ]
                     for possibleHome in possibleHomes:
                         if os.path.exists(possibleHome):
@@ -4671,7 +4870,8 @@
         
         @param home filename of file to be shown (string)
         @keyparam searchWord word to search for (string)
-        @keyparam useSingle flag indicating to use a single browser window (boolean)
+        @keyparam useSingle flag indicating to use a single browser window
+            (boolean)
         """
         if len(home) > 0:
             homeUrl = QUrl(home)
@@ -4692,8 +4892,10 @@
             if useSingle or Preferences.getHelp("SingleHelpWindow"):
                 self.helpWindow = help
                 self.helpWindow.helpClosed.connect(self.__helpClosed)
-                self.preferencesChanged.connect(self.helpWindow.preferencesChanged)
-                self.masterPasswordChanged.connect(self.helpWindow.masterPasswordChanged)
+                self.preferencesChanged.connect(
+                    self.helpWindow.preferencesChanged)
+                self.masterPasswordChanged.connect(
+                    self.helpWindow.masterPasswordChanged)
         elif searchWord is not None:
             self.helpWindow.search(searchWord)
             self.helpWindow.raise_()
@@ -4706,8 +4908,10 @@
         Private slot to handle the helpClosed signal of the help window.
         """
         if Preferences.getHelp("SingleHelpWindow"):
-            self.preferencesChanged.disconnect(self.helpWindow.preferencesChanged)
-            self.masterPasswordChanged.disconnect(self.helpWindow.masterPasswordChanged)
+            self.preferencesChanged.disconnect(
+                self.helpWindow.preferencesChanged)
+            self.masterPasswordChanged.disconnect(
+                self.helpWindow.masterPasswordChanged)
             self.helpWindow = None
     
     def __helpViewer(self):
@@ -4736,7 +4940,8 @@
         """
         Public method to get a reference to the help window instance.
         
-        @keyparam preview flag indicating to get a help window for preview (boolean)
+        @keyparam preview flag indicating to get a help window for preview
+            (boolean)
         @return reference to the help window instance (HelpWindow)
         """
         if self.helpWindow is None:
@@ -4786,7 +4991,8 @@
         """
         Private slot to handle a change of the preferences.
         """
-        self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
+        self.setStyle(Preferences.getUI("Style"),
+                      Preferences.getUI("StyleSheet"))
         
         if Preferences.getUI("SingleApplicationMode"):
             if self.SAServer is None:
@@ -4795,7 +5001,8 @@
             if self.SAServer is not None:
                 self.SAServer.shutdown()
                 self.SAServer = None
-        self.newWindowAct.setEnabled(not Preferences.getUI("SingleApplicationMode"))
+        self.newWindowAct.setEnabled(
+            not Preferences.getUI("SingleApplicationMode"))
         
         self.maxEditorPathLen = Preferences.getUI("CaptionFilenameLength")
         self.captionShowsFilename = Preferences.getUI("CaptionShowsFilename")
@@ -4849,7 +5056,8 @@
         
     def __showExternalTools(self):
         """
-        Private slot to display a dialog show a list of external tools used by eric5.
+        Private slot to display a dialog show a list of external tools used
+        by eric5.
         """
         if self.programsDialog is None:
             from Preferences.ProgramsDialog import ProgramsDialog
@@ -4880,7 +5088,8 @@
         from E5Gui.E5ToolBarDialog import E5ToolBarDialog
         dlg = E5ToolBarDialog(self.toolbarManager)
         if dlg.exec_() == QDialog.Accepted:
-            Preferences.setUI("ToolbarManagerState", self.toolbarManager.saveState())
+            Preferences.setUI(
+                "ToolbarManagerState", self.toolbarManager.saveState())
         
     def __configShortcuts(self):
         """
@@ -4999,7 +5208,8 @@
         
         @param fn filename of the opened editor (string)
         """
-        self.wizardsMenuAct.setEnabled(len(self.__menus["wizards"].actions()) > 0)
+        self.wizardsMenuAct.setEnabled(
+            len(self.__menus["wizards"].actions()) > 0)
         
         if fn and str(fn) != "None":
             dbs = e5App().getObject("DebugServer")
@@ -5056,7 +5266,8 @@
         if not ok:
             E5MessageBox.critical(self,
                 self.trUtf8("Save tasks"),
-                self.trUtf8("<p>The tasks file <b>{0}</b> could not be written.</p>")
+                self.trUtf8(
+                    "<p>The tasks file <b>{0}</b> could not be written.</p>")
                     .format(fn))
             return
         
@@ -5080,7 +5291,8 @@
         else:
             E5MessageBox.critical(self,
                 self.trUtf8("Read tasks"),
-                self.trUtf8("<p>The tasks file <b>{0}</b> could not be read.</p>")
+                self.trUtf8(
+                    "<p>The tasks file <b>{0}</b> could not be read.</p>")
                     .format(fn))
         
     def __writeSession(self):
@@ -5096,7 +5308,8 @@
         else:
             E5MessageBox.critical(self,
                 self.trUtf8("Save session"),
-                self.trUtf8("<p>The session file <b>{0}</b> could not be written.</p>")
+                self.trUtf8(
+                    "<p>The session file <b>{0}</b> could not be written.</p>")
                     .format(fn))
         
     def __readSession(self):
@@ -5107,7 +5320,8 @@
         if not os.path.exists(fn):
             E5MessageBox.critical(self,
                 self.trUtf8("Read session"),
-                self.trUtf8("<p>The session file <b>{0}</b> could not be read.</p>")\
+                self.trUtf8(
+                    "<p>The session file <b>{0}</b> could not be read.</p>")\
                     .format(fn))
             return
         
@@ -5120,7 +5334,8 @@
         else:
             E5MessageBox.critical(self,
                 self.trUtf8("Read session"),
-                self.trUtf8("<p>The session file <b>{0}</b> could not be read.</p>")\
+                self.trUtf8(
+                    "<p>The session file <b>{0}</b> could not be read.</p>")\
                     .format(fn))
     
     def showFindFileByNameDialog(self):
@@ -5130,7 +5345,8 @@
         if self.findFileNameDialog is None:
             from .FindFileNameDialog import FindFileNameDialog
             self.findFileNameDialog = FindFileNameDialog(self.project)
-            self.findFileNameDialog.sourceFile.connect(self.viewmanager.openSourceFile)
+            self.findFileNameDialog.sourceFile.connect(
+                self.viewmanager.openSourceFile)
             self.findFileNameDialog.designerFile.connect(self.__designer)
         self.findFileNameDialog.show()
         self.findFileNameDialog.raise_()
@@ -5168,7 +5384,8 @@
         """
         if self.replaceFilesDialog is None:
             from .FindFileDialog import FindFileDialog
-            self.replaceFilesDialog = FindFileDialog(self.project, replaceMode=True)
+            self.replaceFilesDialog = \
+                FindFileDialog(self.project, replaceMode=True)
             self.replaceFilesDialog.sourceFile.connect(
                 self.viewmanager.openSourceFile)
             self.replaceFilesDialog.designerFile.connect(self.__designer)
@@ -5380,7 +5597,8 @@
             Preferences.setGeometry("MainGeometry", self.saveGeometry())
         self.browser.saveToplevelDirs()
         
-        Preferences.setUI("ToolbarManagerState", self.toolbarManager.saveState())
+        Preferences.setUI(
+            "ToolbarManagerState", self.toolbarManager.saveState())
         self.__saveCurrentViewProfile(True)
         Preferences.saveToolGroups(self.toolGroups, self.currentToolGroup)
         Preferences.syncPreferences()
@@ -5397,7 +5615,8 @@
         """
         self.performVersionCheck(manual=True, showVersions=True)
         
-    def performVersionCheck(self, manual=True, alternative=0, showVersions=False):
+    def performVersionCheck(self, manual=True, alternative=0,
+                            showVersions=False):
         """
         Public method to check the internet for an eric5 update.
         
@@ -5498,8 +5717,9 @@
                                     """ Please go online and try again."""))
                 return
             else:
-                self.performVersionCheck(self.manualUpdatesCheck, self.httpAlternative,
-                    self.showAvailableVersions)
+                self.performVersionCheck(self.manualUpdatesCheck,
+                                         self.httpAlternative,
+                                         self.showAvailableVersions)
                 return
         
         self.__inVersionCheck = False
@@ -5517,9 +5737,11 @@
         
     def __updateVersionsUrls(self, versions):
         """
-        Private method to update the URLs from which to retrieve the versions file.
-        
-        @param versions contents of the downloaded versions file (list of strings)
+        Private method to update the URLs from which to retrieve the versions
+        file.
+        
+        @param versions contents of the downloaded versions file (list of
+            strings)
         """
         if len(versions) > 5 and versions[4] == "---":
             line = 5
@@ -5534,48 +5756,64 @@
         """
         Private method to show the result of the version check action.
         
-        @param versions contents of the downloaded versions file (list of strings)
+        @param versions contents of the downloaded versions file (list of
+            strings)
         """
         url = ""
         try:
             if "-snapshot-" in Version:
                 # check snapshot version
                 if versions[2][0] == "5" and versions[2] > Version:
-                    res = E5MessageBox.yesNo(self,
+                    res = E5MessageBox.yesNo(
+                        self,
                         self.trUtf8("Update available"),
-                        self.trUtf8("""The update to <b>{0}</b> of eric5 is available"""
-                                    """ at <b>{1}</b>. Would you like to get it?""")\
+                        self.trUtf8(
+                            """The update to <b>{0}</b> of eric5 is"""
+                            """ available at <b>{1}</b>. Would you like to"""
+                            """ get it?""")\
                             .format(versions[2], versions[3]),
                         yesDefault=True)
                     url = res and versions[3] or ''
                 elif versions[0] > Version:
-                    res = E5MessageBox.yesNo(self,
+                    res = E5MessageBox.yesNo(
+                        self,
                         self.trUtf8("Update available"),
-                        self.trUtf8("""The update to <b>{0}</b> of eric5 is available"""
-                                    """ at <b>{1}</b>. Would you like to get it?""")\
+                        self.trUtf8(
+                            """The update to <b>{0}</b> of eric5 is"""
+                            """ available at <b>{1}</b>. Would you like to"""
+                            """ get it?""")\
                             .format(versions[0], versions[1]),
                         yesDefault=True)
                     url = res and versions[1] or ''
                 else:
                     if self.manualUpdatesCheck:
-                        E5MessageBox.information(self,
+                        E5MessageBox.information(
+                            self,
                             self.trUtf8("Eric5 is up to date"),
-                            self.trUtf8("""You are using the latest version of eric5"""))
+                            self.trUtf8(
+                                """You are using the latest version of"""
+                                """ eric5"""))
             else:
                 # check release version
                 if versions[0] > Version:
-                    res = E5MessageBox.yesNo(self,
+                    res = E5MessageBox.yesNo(
+                        self,
                         self.trUtf8("Update available"),
-                        self.trUtf8("""The update to <b>{0}</b> of eric5 is available"""
-                                    """ at <b>{1}</b>. Would you like to get it?""")\
+                        self.trUtf8(
+                            """The update to <b>{0}</b> of eric5 is"""
+                            """ available at <b>{1}</b>. Would you like"""
+                            """ to get it?""")\
                             .format(versions[0], versions[1]),
                         yesDefault=True)
                     url = res and versions[1] or ''
                 else:
                     if self.manualUpdatesCheck:
-                        E5MessageBox.information(self,
+                        E5MessageBox.information(
+                            self,
                             self.trUtf8("Eric5 is up to date"),
-                            self.trUtf8("""You are using the latest version of eric5"""))
+                            self.trUtf8(
+                                """You are using the latest version of"""
+                                """ eric5"""))
         except IndexError:
             E5MessageBox.warning(self,
                 self.trUtf8("Error during updates check"),
@@ -5596,7 +5834,8 @@
         """
         Private method to show the versions available for download.
         
-        @param versions contents of the downloaded versions file (list of strings)
+        @param versions contents of the downloaded versions file (list of
+            strings)
         """
         versionText = self.trUtf8(
             """<h3>Available versions</h3>"""
@@ -5606,8 +5845,9 @@
             if versions[line] == "---":
                 break
             
-            versionText += """<tr><td>{0}</td><td><a href="{1}">{2}</a></td></tr>"""\
-                .format(versions[line], versions[line + 1],
+            versionText += """<tr><td>{0}</td><td><a href="{1}">{2}</a>""" \
+                """</td></tr>""".format(
+                    versions[line], versions[line + 1],
                     'sourceforge' in versions[line + 1] and \
                         "SourceForge" or versions[line + 1])
             line += 2
@@ -5670,8 +5910,8 @@
         
         @param required required version (string)
         @param snapshot required snapshot version (string)
-        @return flag indicating, that the version is newer than the required one
-            (boolean)
+        @return flag indicating, that the version is newer than the required
+            one (boolean)
         """
         if Version.startswith("@@"):
             # development version, always newer
@@ -5736,7 +5976,8 @@
             self.__notification.setPixmap(icon)
             self.__notification.setHeading(heading)
             self.__notification.setText(text)
-            self.__notification.setTimeout(Preferences.getUI("NotificationTimeout"))
+            self.__notification.setTimeout(
+                Preferences.getUI("NotificationTimeout"))
             self.__notification.move(Preferences.getUI("NotificationPosition"))
             self.__notification.show()
     

eric ide

mercurial