aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/featureTextEditor.py
diff options
context:
space:
mode:
authorAdrien Tétar2015-06-12 22:20:49 +0200
committerAdrien Tétar2015-06-12 22:20:49 +0200
commit9faef52dee40d3f39e7e85c9ca1db97022ffb066 (patch)
treea4590f1b1df48db8b6539b34435eb3b13b53c62e /Lib/defconQt/featureTextEditor.py
parentcd296f4613191f474a700e8330ec29c2a0917189 (diff)
downloadtrufont-9faef52dee40d3f39e7e85c9ca1db97022ffb066.tar.bz2
Shufflings, more correctness for selection code (but needs refactoring b/w press/release), more glyphView functionality
Diffstat (limited to 'Lib/defconQt/featureTextEditor.py')
-rw-r--r--Lib/defconQt/featureTextEditor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/defconQt/featureTextEditor.py b/Lib/defconQt/featureTextEditor.py
index 75f4de4..9b32290 100644
--- a/Lib/defconQt/featureTextEditor.py
+++ b/Lib/defconQt/featureTextEditor.py
@@ -190,7 +190,7 @@ class TextEditor(QPlainTextEdit):
cursor.movePosition(QTextCursor.EndOfLine)
super(TextEditor, self).keyPressEvent(event)
- newLineSpace = "".join((self._indent for _ in range(indentLvl)))
+ newLineSpace = "".join(self._indent for _ in range(indentLvl))
cursor.insertText(newLineSpace)
if newBlock:
super(TextEditor, self).keyPressEvent(event)