Recent

Author Topic: How can I get help in the IDE?  (Read 327 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1087
    • HowTos Considered Harmful?
How can I get help in the IDE?
« on: September 19, 2024, 02:34:18 pm »
When I press the F1 button on an item editor KDE's help system takes over. (System is XFCE Desktop on remote system)

How can I integrate the Lazarus Help system in the IDE so it responds to the F1, ie it brings up the help on the selected word, eg the LCL page for the component if it has one, or the relevant library topic?

When I was compiling the IDE I'm sure I included building the help as well.

I'm not in the mood for building Lazarus again from scratch, so how can build the help and integrate into the IDE?
Lazarus 3.0/FPC 3.2.2

dsiders

  • Hero Member
  • *****
  • Posts: 1238
Re: How can I get help in the IDE?
« Reply #1 on: September 19, 2024, 08:48:17 pm »
When I press the F1 button on an item editor KDE's help system takes over. (System is XFCE Desktop on remote system)

How can I integrate the Lazarus Help system in the IDE so it responds to the F1, ie it brings up the help on the selected word, eg the LCL page for the component if it has one, or the relevant library topic?

When I was compiling the IDE I'm sure I included building the help as well.

I'm not in the mood for building Lazarus again from scratch, so how can build the help and integrate into the IDE?

If you have the CHM files installed in docs/chm/, it should work out-of-the-box. My KDE6 does. CHM files can be downloaded from source forge if you don't have them.

Do you have the CHM viewer components/chmhelp/lhelp? If not not it can be compiled using:

Code: Bash  [Select][+][-]
  1. ./lazbuild components/chmhelp/lhelp/lhelp.lpi

Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10298
  • Debugger - SynEdit - and more
    • wiki
Re: How can I get help in the IDE?
« Reply #2 on: September 19, 2024, 08:53:20 pm »
When I press the F1 button on an item editor KDE's help system takes over. (System is XFCE Desktop on remote system)

If your KDE does "steal" the F1 key then you need to disable it in KDE. The IDE help can only respond to it, if the F1 keypress is send to the IDE.

If the IDE receives the F1 key (you can test under Tools > Option > Editor > KeyMap : Capture key for search) then make sure you have all the parts installed as described by dsiders.

There is a section in Tools > Options to configure what the IDE calls when displaying help... But I don't know the details from the top of my head.

vfclists

  • Hero Member
  • *****
  • Posts: 1087
    • HowTos Considered Harmful?
Re: How can I get help in the IDE?
« Reply #3 on: September 19, 2024, 09:26:16 pm »
When I try it now the mouse course changes to the usual arrow with a red stop sign underneath, but it still doesn't work.

Do you know what that signifies?
Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018