mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 21:29:50 +02:00
IDE: not executing source hint on space
git-svn-id: trunk@22559 -
This commit is contained in:
parent
555090ae4f
commit
339fddbd64
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user