ViEditor: draw syntax background color
This commit is contained in:
parent
163d8ef26e
commit
6d59885200
1 changed files with 3 additions and 0 deletions
|
|
@ -242,6 +242,9 @@ impl<'a> Edit for ViEditor<'a> {
|
|||
) where
|
||||
F: FnMut(i32, i32, u32, u32, Color),
|
||||
{
|
||||
let size = self.buffer().size();
|
||||
f(0, 0, size.0 as u32, size.1 as u32, self.background_color());
|
||||
|
||||
let font_size = self.buffer().metrics().font_size;
|
||||
let line_height = self.buffer().metrics().line_height;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue