Start on rendering the outline view
This commit is contained in:
@@ -14,7 +14,7 @@ pub use diagnostic_set::DiagnosticEntry;
|
||||
use gpui::AppContext;
|
||||
use highlight_map::HighlightMap;
|
||||
use lazy_static::lazy_static;
|
||||
pub use outline::Outline;
|
||||
pub use outline::{Outline, OutlineItem};
|
||||
use parking_lot::Mutex;
|
||||
use serde::Deserialize;
|
||||
use std::{ops::Range, path::Path, str, sync::Arc};
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::ops::Range;
|
||||
#[derive(Debug)]
|
||||
pub struct Outline(pub Vec<OutlineItem>);
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct OutlineItem {
|
||||
pub id: usize,
|
||||
pub depth: usize,
|
||||
|
||||
Reference in New Issue
Block a user