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: Add a flag to use case sensitive search/replace #4079

Merged
merged 3 commits into from
Jan 31, 2017

Conversation

dalthviz
Copy link
Member

Fixes #4072

@goanpeca
Copy link
Member

Could we add a test :-p ?

@ccordoba12
Copy link
Member

Yep, please add a test ;-)

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')
Copy link
Member

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?

Copy link
Member

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?

Copy link
Member

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 :-/

Copy link
Member Author

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 '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great test!

@ccordoba12 ccordoba12 merged commit 53b5d71 into spyder-ide:3.1.x Jan 31, 2017
ccordoba12 added a commit that referenced this pull request Jan 31, 2017
ccordoba12 added a commit that referenced this pull request Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants