Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Implement replace in selection in the Editor #4635

Closed
wants to merge 3 commits into from
Closed

PR: Implement replace in selection in the Editor #4635

wants to merge 3 commits into from

Conversation

spillz
Copy link
Contributor

@spillz spillz commented Jun 21, 2017

Supports replacing all instances of the search text with the replace text in a selection of text. Changes find/replace dialog to add buttons for "replace in selection" and "replace all" and removes the "replace all" checkbox. Tweaks behavior of automatically filling the searchbox depending on whether multiple lines were selected.

A refinement would be to either add shortcuts for the three buttons or combine the three buttons into one and use radio/combo to control scope.

Supports replacing all instances of the search text with the replace text in a selection of text. Changes find/replace dialog to add buttons for "replace in selection" and "replace all" and removes the "replace all" checkbox. Tweaks behavior of automatically filling the searchbox depending on whether multiple lines were selected.
@ccordoba12 ccordoba12 added this to the v3.2 milestone Jun 21, 2017
@ccordoba12
Copy link
Member

Please follow our contributing guidelines to see how to change this PR from master to 3.x, so we can merge it for 3.2.

@rlaverde, please review this one, given that you've been working on this.

@ccordoba12 ccordoba12 changed the base branch from master to 3.x June 21, 2017 23:38
@ccordoba12 ccordoba12 changed the base branch from 3.x to master June 21, 2017 23:38
@ccordoba12 ccordoba12 changed the title Implements replace in selection in the code editor PR: Implement replace in selection in the Editor Jun 21, 2017
spillz and others added 2 commits June 21, 2017 23:46
Supports replacing all instances of the search text with the replace text in a selection of text. Changes find/replace dialog to add buttons for "replace in selection" and "replace all" and removes the "replace all" checkbox. Tweaks behavior of automatically filling the searchbox depending on whether multiple lines were selected.
@spillz
Copy link
Contributor Author

spillz commented Jun 22, 2017

Did I do this correctly? I had to do:

git rebase --onto origin/3.x origin/master spillz-replace-selection-patch

The instructions didn't mention the "origin" part. (Or the git push)

@andfoy andfoy changed the base branch from master to 3.x June 22, 2017 03:56
@andfoy andfoy changed the base branch from 3.x to master June 22, 2017 03:56
@ccordoba12 ccordoba12 changed the base branch from master to 3.x June 22, 2017 13:26
@ccordoba12 ccordoba12 changed the base branch from 3.x to master June 22, 2017 13:26
@ccordoba12
Copy link
Member

Nop, sorry, your rebase didn't work as expected. @rlaverde, please help @spillz to do this rebase.

@spillz
Copy link
Contributor Author

spillz commented Jun 22, 2017

Why don't I just delete and resubmit?

@ccordoba12
Copy link
Member

Sure, if you prefer that. Just make sure to create your branch after you checkout our 3.x branch.

Thanks for your patience!

@ccordoba12 ccordoba12 removed this from the v3.2 milestone Jun 22, 2017
@ccordoba12
Copy link
Member

Closing in favor of #4638.

@ccordoba12 ccordoba12 closed this Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants