Replace button sometimes fails

The Search Inspector seems to require an overly-specific sequence of interactions in order for the Replace button to function, and I can’t seem to figure out what that sequence is. (I’ve gotten the feature to work before, so I know it’s not completely broken.)

Steps to Reproduce

Setup: select a document with multiple instances of “this”, a subset of which need to be changed to “that”

  • Press ⌘F
    → The Search Inspector appears with focus in the Find field
  • Type “this”
  • Press “return”
    → All instances of “this” turn blue w/yellow highlight in the document
    → Search results appear in inspector
  • Press Tab
    → Focus shifts to the Replace field
  • Type “that”
  • Click “Replace”
    Expected → The first matching instance changes from “this” to "that"
    Actual → Nothing happens

Note: the “All” button seems to work without fail…though obviously that’s only helpful when a complete find/replace is wanted.

You haven’t made a select to replace so it’s not going to. Press the < or > buttons to move through highlights, then press Replace.

Ah, well in that case I guess this might be considered a Feature Request. Which would be…

Pre-select the first match so that Replace is functional without that extra effort. This goes hand-in-hand with the other feature request I made today. :slight_smile: