From 4ca1ef8686dc7e0a3b40013f0e12cdb1b431ff93 Mon Sep 17 00:00:00 2001 From: Ben Levitt Date: Tue, 29 Jun 2021 12:42:19 -0700 Subject: [PATCH] Stop deleting the rest of the current word on autocomplete. --- pythonEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonEditor.py b/pythonEditor.py index 780d8a4..6f9a896 100644 --- a/pythonEditor.py +++ b/pythonEditor.py @@ -94,7 +94,7 @@ def __init__(self, parent, cPanel, stackManager, **kwargs): self.AutoCompSetIgnoreCase(True) self.AutoCompSetFillUps("\t\r\n") self.AutoCompSetCancelAtStart(True) - self.AutoCompSetDropRestOfWord(True) + self.AutoCompSetDropRestOfWord(False) self.AutoCompSetCaseInsensitiveBehaviour(stc.STC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE) self.Bind(stc.EVT_STC_AUTOCOMP_COMPLETED, self.OnACCompleted) self.Bind(stc.EVT_STC_AUTOCOMP_CANCELLED, self.OnACCancelled)