first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+9 -4
View File
@@ -3,14 +3,19 @@ pub mod autosuggestion_ignore_view;
mod soft_wrap;
mod view;
pub use galaxyui::text::point::Point;
use std::cmp;
use std::ops::Range;
/// Consumers of the editor should only interface with the view.
/// They should _not_ be able to interface with the internal
/// details of the editor (e.g. the [`Buffer`]).
pub use view::*;
pub use galaxyui::text::point::Point;
use galaxyui::AppContext;
use std::{cmp, ops::Range};
// Re-exported for use by the `warp_tui` TUI front-end, which needs to
// construct and subscribe to `CodeEditorModel` in char-cell mode.
pub use crate::code::editor::model::{CodeEditorModel, CodeEditorModelEvent};
pub fn init(app: &mut AppContext) {
view::init(app);
@@ -30,5 +35,5 @@ impl<T: Ord + Clone> RangeExt<T> for Range<T> {
}
#[cfg(test)]
#[path = "mod_test.rs"]
#[path = "mod_tests.rs"]
pub mod tests;