From 944813522501e7011842d08f325875428aa5cd8b Mon Sep 17 00:00:00 2001 From: harrybharry Date: Sat, 7 Jun 2008 16:08:13 +0000 Subject: [PATCH] Fix wordcompletion bug: API file had to be present to function. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@221 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/ScitillaComponent/AutoCompletion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp index 848dbe366..4ad335fbe 100644 --- a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp @@ -72,8 +72,8 @@ bool AutoCompletion::showAutoComplete() { } bool AutoCompletion::showWordComplete(bool autoInsert) { - if (!_active) - return false; + //if (!_active) //word completion doesnt need api + // return false; int curPos = int(_pEditView->execute(SCI_GETCURRENTPOS)); int startPos = int(_pEditView->execute(SCI_WORDSTARTPOSITION, curPos, true));