summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 15:48:12 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 15:48:12 -0500
commitfd617d8d9723f76dcdb51b2fa54ef960be4edccc (patch)
treeaaf01cc5bda6703448b63ea0ea7ffff30f820bba /ted.h
parent992315198b510e210a7791f21953bf0e27786108 (diff)
hover-time setting
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index 8b73898..ecf592b 100644
--- a/ted.h
+++ b/ted.h
@@ -136,8 +136,9 @@ typedef struct {
// and change the options_<type> global constant in config.c
SettingsContext context;
- float cursor_blink_time_on, cursor_blink_time_off;
u32 colors[COLOR_COUNT];
+ float cursor_blink_time_on, cursor_blink_time_off;
+ float hover_time;
u32 max_file_size;
u32 max_file_size_view_only;
u16 framerate_cap;
@@ -425,6 +426,7 @@ typedef struct {
LSPDocumentPosition requested_position;
LSPID requested_lsp;
LSPRange range;
+ double time; // how long the cursor has been hovering for
} Hover;
typedef struct {