F1 - Help in IDE

Questions and discussion about the ZBasic IDE.
Post Reply
doronby
Posts: 4
Joined: 19 December 2007, 7:36 AM

F1 - Help in IDE

Post by doronby »

When I put the cursor over a key word and press F1 the browser opens the right file but comes up with a script or activeX block and even if I choose 'allow' I do not land on at the right place in the help file.

I even tried to set the browser security to the lowest level to no avail. :(

Anyone seen this and know how to work around it ?
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

The behavior of positioning the HTML file to a place related to the word under the cursor is not implemented. F1 simply brings up the HTML document and then you'll need to navigate to parts of interest. The table of contents on the left side may be helpful for this purpose.

If you would prefer to use the PDF file (so that you can use the PDF viewer's search capability) you can add a line to your personal configuration to enable that. In the IDE, select 'Open User Options File' from the Options menu. That file may be empty or it might have some saved "state" information in it. In any event, add the line below anywhere in the file and then save the file. Thereafter, pressing F1 should bring up the PDF file.

Code: Select all

command.help.$(file.patterns.bas)="file://$(ZBasicHome)\doc\ZBasicRef.pdf"
- Don Kinzer
doronby
Posts: 4
Joined: 19 December 2007, 7:36 AM

System Library help

Post by doronby »

dkinzer wrote:The behavior of positioning the HTML file to a place related to the word under the cursor is not implemented. F1 simply brings up the HTML document and then you'll need to navigate to parts of interest. The table of contents on the left side may be helpful for this purpose.

If you would prefer to use the PDF file (so that you can use the PDF viewer's search capability) you can add a line to your personal configuration to enable that. In the IDE, select 'Open User Options File' from the Options menu. That file may be empty or it might have some saved "state" information in it. In any event, add the line below anywhere in the file and then save the file. Thereafter, pressing F1 should bring up the PDF file.

Code: Select all

command.help.$(file.patterns.bas)="file://$(ZBasicHome)\doc\ZBasicRef.pdf"
Don,
That is a great improvment.
Now can we get also the help/system Library Help to also come from the PDF.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: System Library help

Post by dkinzer »

doronby wrote:Now can we get also the help/system Library Help to also come from the PDF.
Same idea, different configuration element:

Code: Select all

command.syslib.help="file://$(ZBasicHome)\doc\ZBasicSysLib.pdf"
- Don Kinzer
Post Reply