Re: [oXygen-user] Help Search highlighting

Hello Lars, Finally we succeeded to find a workaround for the JavaHelp search highlight problem. We had to make modifications to the HTML files displayed in the help viewer before they are indexed because the JavaHelp indexer computes wrong indexes. We inserted already a fixup step in the automated pipeline which produces the help archive. You can download a corrected version of the help archive for <oXygen/> 7.1 here: http://www.oxygenxml.com/update/helpFixed7.1/help.zip Just replace [oXygen-install-folder]/lib/help.zip with the downloaded file and restart <oXygen/> to see the search matches highlighted correctly. Best regards, Sorin http://www.oxygenxml.com/ Lars Huttar wrote:
Sorin Ristache wrote:
Hello,
We know about the wrong highlights and we were not able to find a fix until now. We think it is caused by bugs in the Swing view used by the JavaHelp system to display HTML content because <oXygen/> does not implement a custom search mechanism. It provides the search control of the JavaHelp system. The problem is worse if you run <oXygen/> with a Java 1.4 virtual machine: the highlights do not match the word correctly even at the beginning of the page on the right. That means the Swing view works better in later versions of the Sun's JVM (1.5.0_x) but some bugs still exist. We still try to find a solution.
Starting with version 7.2 the Help will be presented in a separate window, with usual platform-dependent decorations (on Windows, by default a window has minimize, maximize and close buttons) and a separate taskbar button. It will behave as a normal window, with the only restriction that closing the main frame of the application will close also the Help window. It is already implemented in the development stream but there is a problem with the focus when F1 is pressed in a type of dockable views, bringing the main frame on top of the help window at a very short time after F1 is pressed and the help window is displayed. We work on this too.
Best regards, Sorin
Thanks again for your responsiveness. I'll say again that this is one of the big reasons why I stay with Oxygen. Lars

Hello again, You will have to run <oXygen/> with a Java 1.5.0 virtual machine in order to see correct highlights. There are incompatibilities between the JavaHelp indexing mechanism of 1.4.2 and 1.5.0 and we decided to support the 1.5.0 one. Best regards, Sorin http://www.oxygenxml.com/ Sorin Ristache wrote:
Hello Lars,
Finally we succeeded to find a workaround for the JavaHelp search highlight problem. We had to make modifications to the HTML files displayed in the help viewer before they are indexed because the JavaHelp indexer computes wrong indexes. We inserted already a fixup step in the automated pipeline which produces the help archive. You can download a corrected version of the help archive for <oXygen/> 7.1 here:
http://www.oxygenxml.com/update/helpFixed7.1/help.zip
Just replace [oXygen-install-folder]/lib/help.zip with the downloaded file and restart <oXygen/> to see the search matches highlighted correctly.
Best regards, Sorin
participants (1)
-
Sorin Ristache