Fixed some code style issues.

Mon, 04 Jan 2021 16:39:09 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 04 Jan 2021 16:39:09 +0100
changeset 7954
d32319ede131
parent 7953
68c12f4cb876
child 7955
567f2ec958c3

Fixed some code style issues.

eric6/QScintilla/Exporters/ExporterHTML.py file | annotate | diff | comparison | revisions
eric6/QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
diff -r 68c12f4cb876 -r d32319ede131 eric6/QScintilla/Exporters/ExporterHTML.py
--- a/eric6/QScintilla/Exporters/ExporterHTML.py	Mon Jan 04 15:59:40 2021 +0100
+++ b/eric6/QScintilla/Exporters/ExporterHTML.py	Mon Jan 04 16:39:09 2021 +0100
@@ -174,7 +174,8 @@
                             font = lex.font(subs_start + subs_idx)
                             colour = lex.color(subs_start + subs_idx)
                             paper = lex.paper(subs_start + subs_idx)
-                            html += '.S{0:d} {{\n'.format(subs_idx - subs_start)
+                            html += '.S{0:d} {{\n'.format(
+                                subs_idx - subs_start)
                             if font.italic():
                                 html += '    font-style: italic;\n'
                             if font.bold():
diff -r 68c12f4cb876 -r d32319ede131 eric6/QScintilla/QsciScintillaCompat.py
--- a/eric6/QScintilla/QsciScintillaCompat.py	Mon Jan 04 15:59:40 2021 +0100
+++ b/eric6/QScintilla/QsciScintillaCompat.py	Mon Jan 04 16:39:09 2021 +0100
@@ -226,9 +226,9 @@
         @rtype int, int
         """
         start = self.SendScintilla(QsciScintilla.SCI_GETSUBSTYLESSTART,
-            styleNr)
+                                   styleNr)
         count = self.SendScintilla(QsciScintilla.SCI_GETSUBSTYLESLENGTH,
-            styleNr)
+                                   styleNr)
         return start, count
     
     def getEndStyled(self):

eric ide

mercurial