It doesn't "do nothing", what it does is perform the Find in code view. And there is *no* guarantee at all that the text you selected in Book View has a match in code view (since it might have spans, entities etc making it a different piece of text). So it is safest to reconfirm to the user that the occurrence it has found in Code View is the one you were expecting before it does anything undesired like replacing the wrong value (and then jumping to the next match if you had clicked Replace/Find).
If Sigil doesn't take these precautions, then you can end up replacing the wrong text, which people would complain about an awful lot more (even worse for the fact that they wouldn't know what it it had replaced).
|