From e468d988b369e61696608fc9ccd52c6d746cb735 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 13 Jan 2002 01:10:10 +0000 Subject: Added option to autocompletion AutoCSetDropRestOfWord which removes any word characters following an insertion made by auto-completion. Bundled the changes made by an autocompletion into one undo action. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 09814fec8..51cfa9d53 100644 --- a/src/Document.h +++ b/src/Document.h @@ -177,7 +177,7 @@ public: int GetFoldParent(int line); void Indent(bool forwards); - int ExtendWordSelect(int pos, int delta); + int ExtendWordSelect(int pos, int delta, bool onlyWordCharacters=false); int NextWordStart(int pos, int delta); int Length() { return cb.Length(); } long FindText(int minPos, int maxPos, const char *s, -- cgit v1.2.3