Align block text with the anchor's column

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld
2021-11-18 12:17:22 -08:00
co-authored by Antonio Scandurra Nathan Sobo
parent 1a8b23e118
commit bef09696f6
2 changed files with 158 additions and 26 deletions
@@ -916,6 +916,10 @@ impl WrapPoint {
&mut self.0.row
}
pub fn column(&self) -> u32 {
self.0.column
}
pub fn column_mut(&mut self) -> &mut u32 {
&mut self.0.column
}