diff options
author | pommicket <pommicket@gmail.com> | 2022-12-28 11:45:07 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-28 11:45:07 -0500 |
commit | 11df4f10197d67e5b61898bd98cdfccc1159dd26 (patch) | |
tree | 7639b03aa348183eb563f6179c2435b5ea28a106 /ted.h | |
parent | 47adb1651d35dcc545850916c4a16b747901dba5 (diff) |
parsing signature help
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -417,9 +417,22 @@ typedef struct { Rect rect; // rectangle where the autocomplete menu is (needed to avoid interpreting autocomplete clicks as other clicks) } Autocomplete; +typedef struct { + // displayed normal + char *label_pre; + // displayed bold + char *label_active; + // displayed normal + char *label_post; +} Signature; + +#define SIGNATURE_HELP_MAX 5 + // "signature help" (LSP) is thing that shows the current parameter, etc. typedef struct { bool open; + u16 signature_count; + Signature signatures[SIGNATURE_HELP_MAX]; } SignatureHelp; |