Introduce an optional primary
field to ExcerptRange
This commit is contained in:
parent
ffb75b0f02
commit
15b13fe511
4 changed files with 66 additions and 8 deletions
|
@ -496,9 +496,11 @@ mod tests {
|
|||
[
|
||||
ExcerptRange {
|
||||
context: Point::new(0, 0)..Point::new(1, 4),
|
||||
primary: None,
|
||||
},
|
||||
ExcerptRange {
|
||||
context: Point::new(2, 0)..Point::new(3, 2),
|
||||
primary: None,
|
||||
},
|
||||
],
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue