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

Code Explorer Cursor handling issue. #5971

Open
1504168 opened this issue Apr 16, 2022 · 1 comment
Open

Code Explorer Cursor handling issue. #5971

1504168 opened this issue Apr 16, 2022 · 1 comment
Labels
difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. good first issue Want to contribute? That's a good place to start! navigation up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky user-experience Issue relates to user experience (workflow, flexibility, customisation)

Comments

@1504168
Copy link

1504168 commented Apr 16, 2022

Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Version 2.5.2.6062

OS: Microsoft Windows NT 10.0.19044.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.15209.20000
Host Executable: EXCEL.EXE

Description
In VBA Native Project explorer if i have cursor in Module1 line 20 and then i activate Module2 and put the cursor in line 30 and then I go back to Module1 then it automatically put my cursor to the line 20 instead of at the very top as rubberduck is doing now (If i use Code Explorer)

To Reproduce
Steps to reproduce the behavior:

  1. Put Cursor at Module1 Line 20 or any other.
  2. Activate Module2 and put the cursor any where.
  3. Activate Module1 back and see where the default cursor is.

Do the above steps for both native explorer and Rubberduck Code Explorer.

Expected behavior
Rubberduck should remember cursor position and put back where it was last time. Otherwise I have to go back to that place every time manually which is painful.

@1504168 1504168 added the bug Identifies work items for known bugs label Apr 16, 2022
@retailcoder retailcoder added enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. navigation up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. good first issue Want to contribute? That's a good place to start! user-experience Issue relates to user experience (workflow, flexibility, customisation) and removed bug Identifies work items for known bugs labels Nov 25, 2022
@retailcoder
Copy link
Member

This one needs a service that keeps track of the current Selection in each module, and then the navigation command should be adjusted to accordingly handle the Home location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. good first issue Want to contribute? That's a good place to start! navigation up-for-grabs Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky user-experience Issue relates to user experience (workflow, flexibility, customisation)
Projects
None yet
Development

No branches or pull requests

2 participants