Mountain/ApplicationState/State/FeatureState/Markers/mod.rs
1//! # MarkerState Module (ApplicationState)
2//!
3//! ## RESPONSIBILITIES
4//! Manages marker state including custom documents, status bar items, and SCM
5//! state.
6//!
7//! ## ARCHITECTURAL ROLE
8//! MarkerState is part of the **FeatureState** module, representing
9//! marker-related state including custom documents, status bar items, and SCM.
10//!
11//! ## KEY COMPONENTS
12//! - MarkerState: Main struct containing marker-related state
13//!
14//! ## ERROR HANDLING
15//! Uses `Arc<Mutex<...>>` for thread-safe access with proper error handling.
16//!
17//! ## LOGGING
18//! State changes are logged at appropriate levels.
19//!
20//! ## PERFORMANCE CONSIDERATIONS
21//! - Lock mutexes briefly
22//! - Avoid nested locks
23//! - Use Arc for shared ownership
24//!
25//! ## TODO
26//! - [ ] Add marker validation
27//! - [ ] Implement marker events
28//! - [ ] Add marker metrics
29
30pub mod MarkerState;