Skip to main content

Module status_bar

Module status_bar 

Source
Expand description

The Studio’s status bar, in VS Code’s manner: a strip along the bottom edge, under a line, saying how many problems the language service found, where the editor’s caret is and what is selected, and which language the editor holds.

Re-exports§

pub use StatusBar_completions::Component::StatusBar;

Structs§

Caret
Where the caret sits — its line and column, both counted from 1, the column in characters — and how many characters the selection spans.
EditorStatus
What the Studio’s editor tells the status bar.
ProblemCount
How many errors and warnings the language service found.
StatusBarProps
Properties for the StatusBar component.

Constants§

STATUS_BAR_STYLE

Functions§

StatusBar
The strip itself. It reads status on its own, so a caret move redraws the strip and nothing else. indent is the editor’s indentation step in spaces. problems is false for an editor no language service reads, where a count of none would claim a check that never ran.