mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 21:47:07 +04:00
TODO
This commit is contained in:
parent
30171416cb
commit
c71c9f69e2
@ -228,6 +228,7 @@ fn required_size(&mut self, viewport: (u16, u16)) -> Option<(u16, u16)> {
|
||||
return None;
|
||||
}
|
||||
let contents = parse(&self.contents, None, &self.config_loader);
|
||||
// TODO: account for tab width
|
||||
let max_text_width = (viewport.0 - padding).min(120);
|
||||
let mut text_width = 0;
|
||||
let mut height = padding;
|
||||
|
Loading…
Reference in New Issue
Block a user