Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Code Explorer Cursor handling issue.

Open 1504168 opened this issue 2 years ago • 0 comments

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 avatar Apr 16 '22 05:04 1504168