Skip to content

Commit c729a0d

Browse files
committed
fix for DELETE and BACKSPACE key
(it is only an appearance issue)
1 parent 676b37e commit c729a0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/console_sci.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ def keyPressEvent(self, e):
393393
# fix the cursor position
394394
self.insert( cmd[:3-newindex] + " " )
395395
self.setCursorPosition(line, 4)
396+
self.recolor()
396397

397398
elif e.modifiers() & (Qt.ControlModifier | Qt.MetaModifier) and \
398399
e.key() == Qt.Key_V:

0 commit comments

Comments
 (0)