A very little bug...
Posted: Thu Apr 05, 2001 8:55 am
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
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