First time here? Check out the FAQ!
1

Ability to navigate through cursor position history (Back/Forward arrow buttons)

I was wondering whether Wingware has considered adding a cursor history-navigate option when clicking the Back/Forward buttons (the left-right arrows at the top of the code editor).

For example: in a Python module, if I am on line number 1,800 and then I remember that I'm missing an import at the top of the file, I'll scroll up to the top of the file, add my import. Then I want to be able to click the back button so WingIDE will take me back to the last cursor position, which was on line 1800. Currently, WingIDE does not take me back to line 1800. I have to remember that I was on line 1800. Instead, if I click Back, it takes me to the last "file", kind of like a web browser.

This missing feature is becoming ever more important to me as my projects grow and I'm navigating hundreds of lines of code in a single module file.

Another example: If I have two files: A.py and B.py: If I'm looking at A.py then I navigate to B.py, then when I press back, I would expect it to go back to A.py. But if I scroll multiple times and change my cursor position in B.py, I would expect the back button in B.py to navigate my cursor history in B.py and in the end, it should take me back to A.py if it has gone to the end of the cursor's history in B.py.

The 'Forward' button should be similar, but for going forward.

PyCharm has cursor back/forth history navigation, and so does Visual Studio, but I would rather use Wing because of the method drop-down menu at the top of the editor, which is very useful.

Please consider adding this feature to the Back/Forward arrow buttons at the top.

Thank you!

jrez's avatar
41
jrez
asked 2021-04-29 08:12:25 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2021-04-29 16:03:00 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Wing does do this in some cases, like after goto-definition. I think there's code in there to do it after scrolling more than a certain number of lines but it's not working for me either. We'll look into this and either fix it or implement the feature if I'm wrong about what the code is intending. Thanks!

Wingware Support's avatar
4k
Wingware Support
answered 2021-04-29 16:04:19 -0600
edit flag offensive 0 remove flag delete link

Comments

That would be awesome! Btw Thanks for such a great and easy-to-use product (I use Wing Pro). I look forward to the update!

jrez's avatar jrez (2021-04-30 08:41:13 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer