Every other ctrl+click on an identifier opens the unit where it is defined but stays at the top.
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
When you use ctrl+click to find the definition of an identifier, and the definition is in an unit not currently shown on the editor, every other time the cursos stays on the first line of the unit instead of pointing at the line with the definition.
Probably it's related to bug #12254 (closed) (or maybe not)
Steps to reproduce:
Make a new project, drop on it, e.g., a TStringGrid, then, on the source, ctrl+click on TStringGrid.
Another tab opens with the unit Grids.pas and the cursor positioned on the definition of TStringGrid.
Close the tab ((right click, close page) and ctrl+click again on TStringGrid, this time the new tab opens but the cursor is on the first line of the file.
Close and ctrl+click again and it shows the definition.
It doesn't happen on every identifier (e.g. TForm).
Mantis conversion info:
- Mantis ID: 12269
- Build: 16814
- Version: 0.9.27 (SVN)
- Fixed in revision: 16838 (#3e2ce6e7)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 0.9.26