Focused Editor workflow for logical buffer-to-file identity projection.
MingaEditor.State.TabBar owns the identity-preserving tab and workspace
transition. This module derives a project-aware file reference and installs
the resulting Traditional shell value into the root.
Summary
Functions
Returns every live buffer pid represented by the workspace or tab snapshots.
Rebinds matching tab and workspace references after a buffer path changes.
Returns the project-aware file reference and display name for an active buffer.
Functions
@spec known_open_pids(MingaEditor.State.t()) :: [pid()]
Returns every live buffer pid represented by the workspace or tab snapshots.
@spec rebind(MingaEditor.State.t(), pid(), String.t() | nil) :: MingaEditor.State.t()
Rebinds matching tab and workspace references after a buffer path changes.
@spec resolve(MingaEditor.State.t(), pid()) :: {:ok, Minga.Project.FileRef.t(), String.t()}
Returns the project-aware file reference and display name for an active buffer.