Hello everyone,
I press F5 and get the search dialog box. I look for the word "ever", and check "Match whole words" to avoid words like "forever", "never", "fever". This works perfectly well. I then select three words of java code, e.g. "someClass.someMetod(someInputParameter);" and press F5 again. Now the "Match whole words" checkbox is unchecked and disabled. I'm not sure if I like this, but I know this is the way it is supposed to be. It woks, and so I don't complain.
But here comes the bug: If I first search for "ever" with "Match whole words" checked, then select the same three words of java code as above, and press, not F5 this time, but Ctrl+F, then no matter how many occurences of "someClass.someMetod(someInputParameter);" there is in my document, I get the error message "Cannot find litteral string".
This bug behaves weird. If the chosen word sequence is, say, "javax.swing.JFrame" (not accepted with the "Match whole words" option), it doesn't appear. But once the selected text contains parentheses or semicolons, it's there!
Is this a known issue, or should I submit it as a bug?
Regards,
HY
A very little bug...
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: A very little bug...
I have come across a similar thing in Textpad, but have never managed to work out the exact sequence of events that brings it about. Basically, the search feature sometimes does not find any occurrences of words in the document. However, if you close the search dialog, and then immediately open it again (without editing the document in any way), then the same words are found (correctly).