- work in progress in German translation ~7%

- after any autocomplete in TCL completer, a space is added
This commit is contained in:
Marius Stanciu 2019-03-25 16:59:12 +02:00 committed by Marius
parent 43f89397d7
commit d7f4b7e6b0
9 changed files with 13952 additions and 3334 deletions

View File

@ -13,6 +13,8 @@ CAD program, and create G-Code for Isolation routing.
- in the TCL completer if the word is already complete don't add it again but add a space
- added all the TCL keywords in the completer keyword list
- work in progress in German translation ~7%
- after any autocomplete in TCL completer, a space is added
22.03.2019

View File

@ -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()

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff