Forum > Editor

How can I get help in the IDE?

(1/1)

vfclists:
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?

dsiders:

--- Quote from: vfclists 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?

--- End quote ---

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  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---./lazbuild components/chmhelp/lhelp/lhelp.lpi

Martin_fr:

--- Quote from: vfclists 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)

--- End quote ---

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:
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?

Navigation

[0] Message Index

Go to full version