Version 11: When copy-pasting a package file, code content pane is not updated with current method

Claus Pedersen

Member³
When I copy-paste a file containing a package spec.+body, the code content pane is not updated with the current method when the cursor is inside a method in the body.

When I shift to the package spec. and get a variable or method in focus, the code content pane is updated and when I return to the body, it works again.

When I click on a method name in the pane, PLD navigates to the corresponding method as it should, but is still not marked in the pane (before navigation in the spec. has occured)
 
Update, steps to reproduce:

I have a package with so many methods, that there is a vertical scrollbar in the code content pane (you can reduce the program window height, so e.g. 10 methods will result in a scrollbar in the pane).

I position the cursor in a method near the end of the package so the scrollbar is at the bottom of the pane.

I now close the package.

I open the package again by copy-paste (copy the package file in the explorer and paste it in PLD).

The cursor is positioned in the code inside the method where I left it. But the code content pane is scrolled to the top, and no method is marked.

It seems that PLD can not focus a method in the pane when the scrollbar has to be scrolled towards the bottom.

The only way to get the cursor back in the code content pane is to navigate to the package specification and back to the body again.
 
Back
Top