Your comments

I’m using Textastic as my coding editor on my iPad Pro.  I often will clone a section of code and then want to Find/Replace a variable (“x” -> “y”).  Restricting the Replace to selected text with allow me to update only the cloned code and not the original.