You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The outline view provides a sort button. It is available as long as the outline view is active. As soon as instead an LSP editor becomes active, the button disappears, although the LSP editor provides the outline page that is still visible.
Examples:
Outline view is active, sort button is visible in the toolbar:
LSP editor is active, the sort button disappeared:
Previously, the sort button was only active if the active part was the outline view (activePart had to be instanceof OutlineView). As soon as an editor became active, the visibleWhen expression became false and the sort button disappeared. The check was done by the expression definition named activePartHasCNFOutlinePage.
I added a new expression definition named activeEditorHasCNFOutlinePage. I changed the visibleWhen expression to only check if the (last) active editor (that does not necessarily has to be in focus) has an outline page of type CNFOutlinePage. The remaining checks using the expression activePartHasCNFOutlinePage are left unchanged.
The outline view provides a sort button. It is available as long as the outline view is active. As soon as instead an LSP editor becomes active, the button disappears, although the LSP editor provides the outline page that is still visible.
Examples:
Outline view is active, sort button is visible in the toolbar:
LSP editor is active, the sort button disappeared:
I found this issue while working on PR #1075.
The text was updated successfully, but these errors were encountered: