diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 23:00:20 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 23:00:20 -0500 |
commit | 43bd0763959ecd8f8a835d09190b55ba6fab7d67 (patch) | |
tree | a79dae99561a26f5c6ba50e5423111f7ff52fb78 /ide-hover.c | |
parent | 74ca500fcad9f6f1ee2d43498b92beee92112fb0 (diff) |
clip highlight to buffer rect
Diffstat (limited to 'ide-hover.c')
-rw-r--r-- | ide-hover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-hover.c b/ide-hover.c index 77aec96..9a7c0c9 100644 --- a/ide-hover.c +++ b/ide-hover.c @@ -118,7 +118,7 @@ void hover_frame(Ted *ted, double dt) { float x = ted->mouse_pos.x, y = ted->mouse_pos.y + font->char_height; float char_height = font->char_height; - ted_highlight_lsp_range(ted, buffer, hover->range); + buffer_highlight_lsp_range(buffer, hover->range); if (hover->text) { float max_width = 400; |