QScintilla/Exporters/ExporterTEX.py

changeset 3039
8dd0165d805d
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- a/QScintilla/Exporters/ExporterTEX.py	Sat Oct 19 16:51:12 2013 +0200
+++ b/QScintilla/Exporters/ExporterTEX.py	Sat Oct 19 17:42:18 2013 +0200
@@ -130,14 +130,14 @@
             
             lex = self.editor.getLexer()
             self.defaultPaper = lex and \
-                                lex.paper(QsciScintilla.STYLE_DEFAULT) or \
-                                self.editor.paper().name()
+                lex.paper(QsciScintilla.STYLE_DEFAULT) or \
+                self.editor.paper().name()
             self.defaultColor = lex and \
-                                lex.color(QsciScintilla.STYLE_DEFAULT) or \
-                                self.editor.color().name()
+                lex.color(QsciScintilla.STYLE_DEFAULT) or \
+                self.editor.color().name()
             self.defaultFont = lex and \
-                                lex.color(QsciScintilla.STYLE_DEFAULT) or \
-                                Preferences.getEditorOtherFonts("DefaultFont")
+                lex.color(QsciScintilla.STYLE_DEFAULT) or \
+                Preferences.getEditorOtherFonts("DefaultFont")
             
             lengthDoc = self.editor.length()
             styleIsUsed = {}
@@ -273,6 +273,6 @@
                     self.trUtf8(
                         """<p>The source could not be exported to"""
                         """ <b>{0}</b>.</p><p>Reason: {1}</p>""")
-                        .format(filename, str(err)))
+                    .format(filename, str(err)))
         finally:
             QApplication.restoreOverrideCursor()

eric ide

mercurial