You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type a simple regular expression that matches some text in your document. Make some minor changes by typing part of the expression, deleting with backspace, maybe move around the text field with the arrow keys.
CTRL+Z / CTRL+Y several times to undo/redo typing the expression. Redo until the expression is complete, and ensure that some text in your document matches and gets highlighted.
Once your expression matches something on the page, press CTRL+H. The "Find" field should change from the expression you just typed to the literal value that was matched. (This is unexpected behavior, IMHO, but isn't the worst part.) Your focus should now be in the "Replace" box.
Tab or click back to the "Find" field.
CTRL+Z several times, then CTRL+Y several times, to move back and forth through your undo history. You should see several characters erased, then replaced with totally different characters as matched literal text is "un-done" and regular expression control characters are "re-done".
Expected behavior:
Ideally, CTRL+F / CTRL+H would only populate the "Find" box with the document selection when it's currently empty. If you're going to insist on doing this, the undo/redo history should have one entry added at the end that consists of totally erasing the current contents and replacing them with the matched text, as though you had copied the text, selected the contents of the "Find" box, then pasted.
The text was updated successfully, but these errors were encountered:
I don't want to turn seedSearchString off for most cases, I like that it populates the widget when it was not already open. The problem is that you can't use "find" to find something then switch to "replace", at least in regex mode, because of the behavior I described in bullet 4 of the OP. Should I file a separate suggestion to change the behavior to only "seed" when the widget is first opened?
Steps to Reproduce:
Expected behavior:
Ideally, CTRL+F / CTRL+H would only populate the "Find" box with the document selection when it's currently empty. If you're going to insist on doing this, the undo/redo history should have one entry added at the end that consists of totally erasing the current contents and replacing them with the matched text, as though you had copied the text, selected the contents of the "Find" box, then pasted.
The text was updated successfully, but these errors were encountered: