MingaEditor.BufferFileIdentity (Minga v0.1.0)

Copy Markdown View Source

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.

Functions

known_open_pids(state)

@spec known_open_pids(MingaEditor.State.t()) :: [pid()]

Returns every live buffer pid represented by the workspace or tab snapshots.

rebind(state, buffer_pid, path)

@spec rebind(MingaEditor.State.t(), pid(), String.t() | nil) :: MingaEditor.State.t()

Rebinds matching tab and workspace references after a buffer path changes.