
User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`.
16 lines
353 B
Rust
16 lines
353 B
Rust
pub mod document;
|
|
pub mod editor;
|
|
pub mod register_selection;
|
|
pub mod theme;
|
|
pub mod tree;
|
|
pub mod view;
|
|
|
|
use slotmap::new_key_type;
|
|
new_key_type! { pub struct DocumentId; }
|
|
new_key_type! { pub struct ViewId; }
|
|
|
|
pub use document::Document;
|
|
pub use editor::Editor;
|
|
pub use register_selection::RegisterSelection;
|
|
pub use theme::Theme;
|
|
pub use view::View;
|