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

Find and replace by empty string #1271

Closed
spyder-bot opened this issue Feb 17, 2015 · 2 comments
Closed

Find and replace by empty string #1271

spyder-bot opened this issue Feb 17, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

From contrebasse on 2013-02-13T12:05:46Z

Spyder Version: 2.2.0beta2
Python Version: 2.7.3
Qt Version: 4.8.4, PyQt4 (API v2) 4.9.6 on Linux

What steps will reproduce the problem?

  1. use find and replace to replace some text by another text
    1. try to find and replace some text again, but this time by an empty string What is the expected output? What do you see instead? After deleting the text in the second QLineEdit and pressing Return or setting the focus somewhere else, the empty string is replaced by the last text. Thus it is not possible to delete text using find and replace after another replacement.
      It works fine if spyder is restarted and the replacement by an empty string is made witout previous search.

Please provide any additional information below

. I think that it is a regression, but I can't say when it occurred.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1271

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-02-16T08:40:01Z

Status: Accepted
Owner: pierre.raybaut
Labels: MS-v2.2

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-02-16T08:40:21Z

This issue was updated by revision ee42666dffa3 .

This bug may have been introduced by revision 11d0f586f23c , again (but I'm not
sure).

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant