mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
339 B
Rust
11 lines
339 B
Rust
use helix_core::Rope;
|
|
use helix_event::events;
|
|
|
|
use crate::{Document, DocumentId, Editor, ViewId};
|
|
|
|
events! {
|
|
DocumentDidChange<'a> { doc: &'a mut Document, view: ViewId, old_text: &'a Rope }
|
|
SelectionDidChange<'a> { doc: &'a mut Document, view: ViewId }
|
|
DiagnosticsDidChange<'a> { editor: &'a mut Editor, doc: DocumentId }
|
|
}
|