IDE: not executing source hint on space

git-svn-id: trunk@22559 -
This commit is contained in:
mattias 2009-11-13 06:12:10 +00:00
parent 555090ae4f
commit 339fddbd64

View File

@ -1310,8 +1310,7 @@ begin
BaseURL:='';
HTMLHint:='';
Code:=CodeToolBoss.LoadFile(ExpandedFilename,true,false);
if (Code=nil) or (CodePos.Y<1) or (CodePos.Y>Code.LineCount)
or (CodePos.X<1) then
if (Code=nil) or Code.LineColIsSpace(CodePos.Y,CodePos.X) then
exit(shrHelpNotFound);
if CodeHelpBoss.GetHTMLHint(Code,CodePos.X,CodePos.Y,
[chhoSmartHint, chhoComplete, chhoComments],