- work in progress in German translation ~7%
- after any autocomplete in TCL completer, a space is added
This commit is contained in:
@@ -519,6 +519,8 @@ class FCTextAreaExtended(QtWidgets.QTextEdit):
|
||||
tc.movePosition(QTextCursor.Left)
|
||||
tc.movePosition(QTextCursor.EndOfWord)
|
||||
tc.insertText(completion[-extra:])
|
||||
# add a space after inserting the word
|
||||
tc.insertText(' ')
|
||||
self.setTextCursor(tc)
|
||||
self.completer.popup().hide()
|
||||
|
||||
@@ -1471,6 +1473,8 @@ class _ExpandableTextEdit(QTextEdit):
|
||||
tc.movePosition(QTextCursor.Left)
|
||||
tc.movePosition(QTextCursor.EndOfWord)
|
||||
tc.insertText(completion[-extra:])
|
||||
# add a space after inserting the word
|
||||
tc.insertText(' ')
|
||||
self.setTextCursor(tc)
|
||||
self.completer.popup().hide()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user