Delete till previous tabstop when backspacing within indent column
This commit is contained in:
parent
9076345a8f
commit
ee6d7fc6d5
3 changed files with 68 additions and 23 deletions
|
@ -1657,7 +1657,7 @@ impl MultiBufferSnapshot {
|
|||
}
|
||||
}
|
||||
|
||||
fn buffer_line_for_row(&self, row: u32) -> Option<(&BufferSnapshot, Range<Point>)> {
|
||||
pub fn buffer_line_for_row(&self, row: u32) -> Option<(&BufferSnapshot, Range<Point>)> {
|
||||
let mut cursor = self.excerpts.cursor::<Point>();
|
||||
cursor.seek(&Point::new(row, 0), Bias::Right, &());
|
||||
if let Some(excerpt) = cursor.item() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue