A simple CPU rendered GUI IDE experience.
| -rw-r--r-- | src/edi.rs | 2 | ||||
| -rw-r--r-- | src/rnd.rs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ use std::borrow::Cow; +use std::collections::HashMap; use std::ops::ControlFlow; use std::path::{Path, PathBuf}; use std::sync::Arc; @@ -33,6 +34,7 @@ use crate::{ }; #[derive(Default)] pub struct Editor { + pub files: HashMap<PathBuf, Editor>, pub text: TextArea, pub origin: Option<PathBuf>, pub state: State, @@ -20,7 +20,7 @@ use crate::edi::st::State; use crate::edi::{Editor, lsp_m}; use crate::lsp::Rq; use crate::text::{CoerceOption, col}; -use crate::{BG, BORDER, CompletionAction, CompletionState, FG, com, filter, lsp, sig}; +use crate::{BG, BORDER, CompletionAction, CompletionState, FG, FONT, com, filter, lsp, sig}; #[implicit_fn::implicit_fn] pub fn render( |