diff --git a/Editor.xaml.fs b/Editor.xaml.fs index e3719ee..c1abcb2 100644 --- a/Editor.xaml.fs +++ b/Editor.xaml.fs @@ -17,6 +17,7 @@ open Avalonia.Threading open Avalonia.Platform open System.Text open Avalonia.Utilities +open Avalonia.Skia open FSharp.Control.Reactive [] @@ -147,6 +148,7 @@ type Editor() as this = Point(Math.Ceiling px.X, Math.Ceiling px.Y) / grid_scale let drawBuffer (ctx: IDrawingContextImpl) row col colend hlid (str: string list) = + let fg, bg, sp, typeface, attrs = getDrawAttrs hlid let topLeft = getPoint row col |> rounding diff --git a/fvim.fsproj b/fvim.fsproj index eee62cd..1746a67 100644 --- a/fvim.fsproj +++ b/fvim.fsproj @@ -35,6 +35,7 @@ +