Draft metrics hinting support
This commit is contained in:
parent
9339446cfa
commit
48eda6bd7d
15 changed files with 41 additions and 22 deletions
|
|
@ -13,7 +13,7 @@ fn editor() -> ViEditor<'static, 'static> {
|
|||
let line_height = (font_size * 1.4).ceil();
|
||||
|
||||
let metrics = Metrics::new(font_size, line_height);
|
||||
let buffer = Buffer::new_empty(metrics);
|
||||
let buffer = Buffer::new_empty(metrics, false);
|
||||
let editor = SyntaxEditor::new(
|
||||
buffer,
|
||||
SYNTAX_SYSTEM.get_or_init(SyntaxSystem::new),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue