Difference between revisions of "LHelp"

From Free Pascal wiki
Jump to navigationJump to search
(Started lhelp page)
 
m
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
 
Lhelp is the default help viewer for Lazarus. It displays CHM help files.
 
Lhelp is the default help viewer for Lazarus. It displays CHM help files.
 +
 +
The screenshot below shows Lazarus LCL context-sensitive help displayed in LHelp:
 +
[[File:lhelp.png]]
  
 
== Operation ==
 
== Operation ==
Line 10: Line 13:
 
== Internals ==
 
== Internals ==
 
Lhelp uses the [[chm]] package provided by FPC to read CHM files, table of contents (TOC), and full text search index.
 
Lhelp uses the [[chm]] package provided by FPC to read CHM files, table of contents (TOC), and full text search index.
 +
 +
== Limitations ==
 +
* LHelp cannot search on words containing the search term. This is similar to the behaviour of the Windows help viewer. Implementing this would require traversing the entire full-text search tree, parsing results and then displaying which would probably take a lot of time.
 +
* Known bugs: See bug reports on the bug tracker with tag lhelp, lhelp in the description etc.
  
 
[[Category:Lazarus]]
 
[[Category:Lazarus]]
 
[[Category:Help and Docs]]
 
[[Category:Help and Docs]]
 
[[Category:CHM]]
 
[[Category:CHM]]

Revision as of 09:01, 16 October 2014

Overview

Lhelp is the default help viewer for Lazarus. It displays CHM help files.

The screenshot below shows Lazarus LCL context-sensitive help displayed in LHelp: lhelp.png

Operation

Lhelp can be run stand-alone and used to open/view CHM files like a regular CHM viewer.

It can also be invoked and controlled by the Lazarus IDE to display context-sensitive help etc. For that, it uses the Help protocol.

Internals

Lhelp uses the chm package provided by FPC to read CHM files, table of contents (TOC), and full text search index.

Limitations

  • LHelp cannot search on words containing the search term. This is similar to the behaviour of the Windows help viewer. Implementing this would require traversing the entire full-text search tree, parsing results and then displaying which would probably take a lot of time.
  • Known bugs: See bug reports on the bug tracker with tag lhelp, lhelp in the description etc.