-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Add a flag to use case sensitive search/replace #4079
Conversation
Could we add a test :-p ? |
Yep, please add a test ;-) |
spyder/utils/fixtures.py
Outdated
widget.setup_editor(linenumbers=True, markers=True, tab_mode=False, | ||
font=QFont("Courier New", 10), | ||
show_blanks=True, color_scheme='Zenburn') | ||
widget.setup_editor(language='Python') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this 2 steps? and not just this (widget.setup_editor(language='Python')) one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not using this bot on the tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it seems you added this bot but at the end you're not using it :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both are right, I forgot to change that bot for the one that I'm using and that is in test_editor.py
😖
editorStack.find_widget.replace_find() | ||
editorStack.find_widget.replace_find() | ||
editor_text = editor.toPlainText() | ||
assert editor_text == ' pass \nTEST \nTest \ntesT ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great test!
Fixes #4072