-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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: Fix history browsing while debugging #5342
Conversation
Hi @impact27, thanks a lot for working in this one! 👍 |
Also could you please move this changes to Thanks! :) |
@impact27, no need to move this against 3.x. I think you just forgot to change the PR's base when opening it, but I fixed that for you. |
spyder/widgets/mixins.py
Outdated
@@ -813,3 +813,7 @@ def find_in_history(self, tocursor, start_idx, backward): | |||
return entry[len(tocursor):], idx | |||
else: | |||
return None, start_idx | |||
|
|||
def reset_search_pos(self): | |||
"""Reset the position from witch to search the history""" |
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.
Please change witch
to which
@dalthviz, please review that this works for you locally. This problem happened after introducing several commands while debugging (e.g. |
@ccordoba12 It works for me locally 👍 Thanks again @impact27 for working on this one! |
Great! Thanks @impact27 for your contribution! |
Fixes #5202
Edit:
Add reference to the issue