Merge pull request #162 from forkgull/clonable-attrs
Derive Clone for AttrsList
This commit is contained in:
commit
bbebd312d6
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ impl AttrsOwned {
|
||||||
|
|
||||||
/// List of text attributes to apply to a line
|
/// List of text attributes to apply to a line
|
||||||
//TODO: have this clean up the spans when changes are made
|
//TODO: have this clean up the spans when changes are made
|
||||||
#[derive(Debug, Eq, PartialEq)]
|
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||||
pub struct AttrsList {
|
pub struct AttrsList {
|
||||||
defaults: AttrsOwned,
|
defaults: AttrsOwned,
|
||||||
spans: RangeMap<usize, AttrsOwned>,
|
spans: RangeMap<usize, AttrsOwned>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue