mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 12:52:33 +02:00
IDE: reduced debugging
git-svn-id: trunk@21712 -
This commit is contained in:
parent
72b7bf8ca6
commit
9897ad8216
@ -1306,13 +1306,14 @@ begin
|
||||
BaseURL:='';
|
||||
HTMLHint:='';
|
||||
Code:=CodeToolBoss.LoadFile(ExpandedFilename,true,false);
|
||||
if Code=nil then exit(shrHelpNotFound);
|
||||
if (Code=nil) or (CodePos.Y<1) or (CodePos.Y>Code.LineCount)
|
||||
or (CodePos.X<1) then
|
||||
exit(shrHelpNotFound);
|
||||
if CodeHelpBoss.GetHTMLHint(Code,CodePos.X,CodePos.Y,
|
||||
[chhoSmartHint, chhoComplete, chhoComments],
|
||||
BaseURL,HTMLHint,CacheWasUsed)=chprSuccess
|
||||
then
|
||||
exit(shrSuccess);
|
||||
DebugLn(['TIDEHelpManager.GetHintForSourcePosition not found']);
|
||||
Result:=shrHelpNotFound;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user