mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 00:30:34 +02:00
* fixed codecomplete when the word was already typed
This commit is contained in:
parent
d0a230bd96
commit
36e3f595ce
@ -25,7 +25,7 @@ begin
|
||||
if OK then
|
||||
begin
|
||||
Text:=CodeCompleteWords^.Lookup(WordS,Index);
|
||||
OK:=(Index<>-1);
|
||||
OK:=(Index<>-1) and (length(Text)<>length(WordS));
|
||||
end;
|
||||
if OK=false then Text:='';
|
||||
FPCompleteCodeWord:=OK;
|
||||
@ -56,4 +56,4 @@ begin
|
||||
CodeCompleteWords:=nil;
|
||||
end;
|
||||
|
||||
END.
|
||||
END.
|
||||
|
Loading…
Reference in New Issue
Block a user