Search in files does not select correct text

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Roger
Posts: 26
Joined: Tue Apr 05, 2005 11:29 pm

Search in files does not select correct text

Post by Roger »

Some text is found and selected in the files when I click on the search results pane at the bottom. But it never is the text that has been searched for.

Am I doing something wrong?

And why do all files that are opened get marked as changed but not saved before any editing happens?

I think you guys have launched on a very complex application here. My sincere appreciation and congradulations to you.

Roger
Roger
Posts: 26
Joined: Tue Apr 05, 2005 11:29 pm

Post by Roger »

Hi Roger-

Thanks for reporting this anomoly. The problem turns out to be in Prefernces>Editor>Format>Format and indent the document on open. If you have this checked and a document is opened that has not been formatted by oxygen, then the file search is going to find the *unformatted* search strings but the UI is displaying the *formatted* document. If you would first save the newly formatted document, then try the search in files again, you find exactly the strings you searched for are selected.

Thanks again for using oXygen. Sorry for the inconvenience.

Roger
Zby
Posts: 36
Joined: Tue Apr 05, 2005 10:52 am

Post by Zby »

I have noticed that search in help system highlights some strange phrases instead of the search phrase. This is not a big problem but it is annoying for beginners that often use the help.

rgds,
Zby
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Roger,

Yes, this is an interesting situation. We discussed possible solutions but none seems to be perfect... The best thing seems to keep the current implementation.

Hi Zby,

The problem with the help system is in Java 1.5. If you use oXygen with Java 1.4 then the search in help should work fine. You also have the help in PDF format and online as HTML, see http://www.oxygenxml.com/documentation.html

Best Regards,
George
Post Reply