Don't include start of a line when selection ends at start of line
This commit is contained in:
parent
5cf92980f0
commit
b366592878
3 changed files with 30 additions and 32 deletions
|
@ -4,6 +4,7 @@ use std::cmp::{self, Reverse};
|
|||
use std::fmt::Write;
|
||||
use std::ops::Range;
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn summarize(buffer: &BufferSnapshot, selected_range: Range<impl ToOffset>) -> String {
|
||||
#[derive(Debug)]
|
||||
struct Match {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue