mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
cleanup some todos
This commit is contained in:
parent
c0ce674438
commit
b59e050d67
1 changed files with 0 additions and 4 deletions
|
|
@ -16,14 +16,10 @@ use syntect::{
|
||||||
};
|
};
|
||||||
use tui::text::{Span, Spans};
|
use tui::text::{Span, Spans};
|
||||||
|
|
||||||
//TODO: no clone, make user consume result
|
|
||||||
#[derive(Clone)]
|
|
||||||
struct SyntaxLine {
|
struct SyntaxLine {
|
||||||
items: Vec<(Style, usize, Range<usize>)>,
|
items: Vec<(Style, usize, Range<usize>)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: no clone, make user consume result
|
|
||||||
#[derive(Clone)]
|
|
||||||
pub struct SyntaxText {
|
pub struct SyntaxText {
|
||||||
text: String,
|
text: String,
|
||||||
lines: Vec<SyntaxLine>,
|
lines: Vec<SyntaxLine>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue