Skip to content

Commit 4ca1ef8

Browse files
committed
Stop deleting the rest of the current word on autocomplete.
1 parent 667bbab commit 4ca1ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonEditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, parent, cPanel, stackManager, **kwargs):
9494
self.AutoCompSetIgnoreCase(True)
9595
self.AutoCompSetFillUps("\t\r\n")
9696
self.AutoCompSetCancelAtStart(True)
97-
self.AutoCompSetDropRestOfWord(True)
97+
self.AutoCompSetDropRestOfWord(False)
9898
self.AutoCompSetCaseInsensitiveBehaviour(stc.STC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE)
9999
self.Bind(stc.EVT_STC_AUTOCOMP_COMPLETED, self.OnACCompleted)
100100
self.Bind(stc.EVT_STC_AUTOCOMP_CANCELLED, self.OnACCancelled)

0 commit comments

Comments
 (0)