> Without an enable/disable checkbox how can you replace a block of text with "nothing"?
Just leave the "Replace With" blank? That's how I usually do it. Shouldn't need an enable/disable box for this.
> Another option would be to have a Find Next button that just does find next, and a replace button that does replace. All of the controls would then always be visible, and depending on what you clicked you would find or replace.
Essentially, you could just use the Replace dialog as is since it contains all this already.
> The complications are that there are some options that are only applicable for replace, and these clutter and confuse the interface in the case of find.
I looked at both dialogs, the only things I can tell that changes is the "Search within" options. For the find dialog, you have "Current Document" and "All open documents". For the replace dialog, you have "Current Document" and "In Selection". I'm not sure when "Current Project" is enabled, don't use those.
But another thing here is that those options are always visible, just sometimes disabled. So there's no less "clutter". I think PN may be able to be smart enough to deal with strange requests, like a "find next" with "in selection" (just find the next match within the current selection? Or ignore the selection and just do a "current document"?
I think it's worth combining, they're almost completely visually identical. Plus the thing that convinced me is that OpenOffice does this already... hit Control+F and a Find & Replace dialog comes up. I think as long as we have the keyboard accelerators for the "Find next" and "Replace" (all) buttons, there's no downside to combining them. It's not a huge deal if it stays separate, but it would just be a little less redundant.
> Would it be possible to at least alter the behavior for find/replace fill the find box when a whole line is selected? This feature has failed for me several times because of this inconsistency.
I'm not sure how this would change. Right now it's: if one or less lines are selected, auto-fill it in the box. If nothing is selected, auto-fill the current word. If more than one line is selected, use that as the "Within Selection" option and use whatever the last "Find what" value was. I don't think we want to auto-fill multiple lines (since that's really a regex thing, and would be confusing to have it be auto-filled), and it's definitely helpful when selecting a piece of the current document. Is there another way this could be fixed?
I'd rather change the current behavior so that it auto-fills if you've selected, but does *not* auto fill if nothing is selected. That always throws me off. I hate hitting control+f and getting auto-filled whatever word the cursor happens to be on.