Convert code folding to be in terms of buffer points instead of display points
Co-authored-by: max <max@zed.dev>
This commit is contained in:
@@ -262,7 +262,7 @@ impl TabSnapshot {
|
||||
.to_buffer_point(&self.fold_snapshot)
|
||||
}
|
||||
|
||||
fn expand_tabs(
|
||||
pub fn expand_tabs(
|
||||
chars: impl Iterator<Item = char>,
|
||||
column: usize,
|
||||
tab_size: NonZeroU32,
|
||||
|
||||
Reference in New Issue
Block a user