Page 1 of 1
Search in files does not select correct text
Posted: Tue Apr 05, 2005 11:40 pm
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
Posted: Wed Apr 06, 2005 3:08 am
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
Posted: Wed Apr 06, 2005 9:47 am
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
Posted: Thu Apr 07, 2005 2:49 pm
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