Is there a way to have the "Structure View" in Delphi XE "stick" to a particular DFM and not follow editor context?
In Delphi 7 and older this was its behavior, but in XE, it follows the context, meaning that whenever you edit code, it shows the structure for that code.
I have components structures in the DFM that are used for hierarchical description of a UI model, and for that, the structure view is very convenient. However, the code associated to that DFM is in (other) plain units (UI/logic separation). So whenever I switch from the DFM unit to one of those other units (even just for a quick lookup), it loses focus of the DFM structure.
When going back to the DFM unit, it shows the (useless*) structure of the code of the DFM unit, and not that of the DFM components, you have to re-enter the visual editor and manually select something there to get the structure back...
If the solution involves the structure view never showing the structure of code, I would be happy with that, as I'm already using another tool for that purpose.
*PS: "useless" because the content of the DFM unit is auto-generated.