Problems with search
Hello!
When I do a search on my help set, I get a list of all pages with the entered search string.
However, when I click on a search result, the page in quesiton is NOT displayed in the window.
Instead, some words are marked blue in the currently open page.
How can I fix this error?
TIA
Dmitri Pissarenko
> Instead, some words are marked blue in the currently
> open page.
What? And that's not helpful? J/K
Without posting any code it's going to be impossible for us to help you. My advice to you is to track down the function / method that runs when you click one of your help topics and see what that's running. Chances are you want to make some changes somewhere within that action.
I have the same problem. I don't really have any code to post. The problem occurs while I am testing the JavaHelp file with its own Help Set Viewer (hsviewer.jar), not with code I wrote.
I create the HTML topic files, and the help set files (app.hs, app.jhm, appTOC.xml, appIndex.xml). I run jhindexer.jar to create the full text search files in JavaHelpSearch. I run jar to jar everything up.
I run hsviewer.jar and it displays the help file TOC. The TOC and index work, and the pages display. I select the full text search tab, and enter a search term. I get 3 hits. If I click on one of the search results, hsviewer.jar highlights characters, but it only highlights the correct characters if I manually switch to the correct page. If I am not on the page with the search results, it highlights the place where the characters would be if I was on the correct page.
How can I fix this problem?