diff --git a/ROADMAP.md b/ROADMAP.md index dacfb90..f49b3fe 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -2,17 +2,18 @@ To add some order to this project these objectives need to be completed. -[ x ] basic gui features (open file, save, quit) +[x] basic gui features (open file, save, quit) -[ x ] gui theme +[x] gui theme -[ x ] pane grid +[x] pane grid -### Program: file type recognition -* [ ] implement icons for file types +[x] file type recognition -### Program: sidebar for plugins -* should icons be svgs or unicode? +[x] code icons ### Explore: system shell in gui -A shell widget within iced seems the most simple out of the first few widgets and it is very helpful to users. +A shell widget within iced seems the most simple out of the first few widgets and it is very helpful to users. Revisiting this idea, `iced_term` is what should be used. + +### Program: custom text editor widget +We require highlighting and tooltips when the LSP gives us warnings or errors. Also look into inline hints with in the text editor. diff --git a/gui/src/buffer.rs b/gui/src/buffer.rs index 7f61a97..df00196 100644 --- a/gui/src/buffer.rs +++ b/gui/src/buffer.rs @@ -9,5 +9,7 @@ pub enum Buffer { #[derive(Debug, Default)] pub struct FileBuffer { pub path: Option, - pub content: Content, + pub content: Content, // This causes a bug because [`Content`] can create exact replicas of a text + // editor so scrolling and cusor locations are the same on each. Currently the only way I see + // this changing is making a custom text editor widget. }