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
This commit is contained in:
parent
3e551ff84b
commit
9448135225
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user