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
Performing a Replace ("Search -> Replace Text") with "Case Sensitive" selected does not respect case, i.e. text is matched for any combination of upper and lower case characters and replaced with the "Replace with:" text.
To reproduce:
From the menu, select "File -> New file...".
Enter the following text: """
Sample text to replace
"""
From the menu, select "Search -> Replace Text"
Enter the text "sample" in text to look for
Enter the text "Should not appear" in text to replace with
Ensure "Case Sensitive" is selected / checked / active.
Click "Replace / Find"
Expected: Text should remain as is because "sample" does not match "Sample" in a case sensitive manner.
Instead: The text "sample" is replaced with the replace text "Should not appear".
Versions and main components
Spyder Version: Spyder 3.1.2
Python Version: Python 3.6.0 32bits, Qt 5.7.1, PyQt5 5.7.1 on Windows
Yup, I have the same problem. I was about to open a 2nd ticket with the same problem as the case sensitivity thing surfaced for me while testing this bug
BTW I'm curious to know if Find in Files works for you or if you also have the same issue. If you do the bugs might be related.
Performing a Replace ("Search -> Replace Text") with "Case Sensitive" selected does not respect case, i.e. text is matched for any combination of upper and lower case characters and replaced with the "Replace with:" text.
To reproduce:
Sample text to replace
"""
Expected: Text should remain as is because "sample" does not match "Sample" in a case sensitive manner.
Instead: The text "sample" is replaced with the replace text "Should not appear".
Versions and main components
Dependencies
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : None (NOK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : None (NOK)
pandas >=0.13.1 : None (NOK)
pep8 >=0.6 : 1.7.0 (OK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.5 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.5.2 (OK)
sympy >=0.7.3 : None (NOK)
The text was updated successfully, but these errors were encountered: