Recent

Author Topic: [Fixed in trunk] Code explorer in 4.2 does not seem to track editor window.  (Read 759 times)

jamie

  • Hero Member
  • *****
  • Posts: 7827
For some reason, and I thought this use to work but double clicking or using the Right click option to move to the source
line in the editor does not work in the Code Explorer tree?

 All fields do not track the editor to move to the line in the editor window.

 I find that it works in the trunk, is this a known issue or do I have a wrong? I thought it use to work.

Jamie
« Last Edit: September 27, 2025, 08:00:01 pm by jamie »
The only true wisdom is knowing you know nothing

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12514
  • Debugger - SynEdit - and more
    • wiki
Re: Code explorer in 4.2 does not seem to track editor window.
« Reply #1 on: September 27, 2025, 06:04:48 pm »
I don't use it normally, but doing a test now with current fixes branch (that is newer than 4.2, but not too much) shows it works. (And my fixes currently even has anchor dock installed, and I had 2 source editors open / in 2 separate docking windows)

Obviously, the options need to say "update on idle". If you have "manual" or "never" then it wont happen.

And mind, IDLE is not immediately. It feels like it takes about 1 second before it follows.

And if you have something that keeps the IDE busy, then it wont update (e.g. during compilation / not tested, but seen in other similar handlers). Same if you have a rogue package, that keeps the IDE busy forever.

n7800

  • Hero Member
  • *****
  • Posts: 729
  • Lazarus IDE contributor
    • GitLab profile
Re: Code explorer in 4.2 does not seem to track editor window.
« Reply #2 on: September 27, 2025, 06:15:22 pm »
Please note issue 41845, has been fixed in recent days.

To be clear, this only didn't work in virtual (unsaved) projects.

jamie

  • Hero Member
  • *****
  • Posts: 7827
Re: Code explorer in 4.2 does not seem to track editor window.
« Reply #3 on: September 27, 2025, 07:59:35 pm »
Please note issue 41845, has been fixed in recent days.

To be clear, this only didn't work in virtual (unsaved) projects.

Ok, then that explains the issue. I always do short test in non-saved projects.

Thanks. We can call this a completer!

Jamie
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018