chmhelp: disable showing CodeBrowser on unknown identifiers. LHelp has its own search function

git-svn-id: trunk@53876 -
This commit is contained in:
mattias 2017-01-03 16:58:34 +00:00
parent c8f26b3e53
commit 9bccfe6ab7

View File

@ -34,6 +34,7 @@ uses
Controls, Forms, Dialogs, LazHelpIntf, HelpIntfs, LCLPlatformDef, InterfaceBase,
// IdeIntf
PropEdits, IDEDialogs, MacroIntf, LazIDEIntf, IDEExternToolIntf, HelpFPDoc,
IDEHelpIntf,
// ChmHelp
LHelpControl, ChmLangRef, ChmLcl, ChmProg;
@ -142,6 +143,10 @@ begin
LCLHelpDatabase.OnFindViewer := @ChmHelp.DBFindViewer;
RegisterFPCDirectivesHelpDatabase;
FPCDirectivesHelpDatabase.OnFindViewer := @ChmHelp.DBFindViewer;
// disable showing CodeBrowser on unknown identifiers. LHelp has its own
// search function.
LazarusHelp.ShowCodeBrowserOnUnknownIdentifier:=false;
end;