Creates an instance of AnnouncePositionCommand.
The application context.
The text service for mode checking.
The text view model.
The audio service.
The display service for scope management.
Protected ReadonlycontextProtected ReadonlytextProtected ReadonlyaudioProtected ReadonlytextProtected ReadonlydisplayProtectedrestoreRestores the scope to the previous scope before entering label mode. Uses DisplayService to properly manage the focus stack and restore the correct scope (TRACE, BRAILLE, etc.) regardless of which scope was active before entering label mode.
Only exits when a label scope is actually active. These announce commands are also bound outside label mode (e.g. 't' at subplot/figure level); exiting unconditionally would flip navigation into TRACE scope via the stale focus stack and break subplot activation.
Executes the command to announce the current position.
Command to announce the current position in the chart. Formats output based on text mode (terse/verbose) and chart type.