diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 23:22:15 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 23:22:15 -0500 |
commit | b6460a7aac5196b8cb6174bdaa8cc2ab82310380 (patch) | |
tree | dd6be579865b4b3bb62a4d709a4347bf2bf1446e /ted.h | |
parent | adabc989a118190a4dc7e85315b5a337b806b314 (diff) |
handle multiple definitions of a symbol with the same name
in the definitions menu
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -300,6 +300,8 @@ typedef struct { // if not NULL, this will show on the right side of the entry. const char *detail; u32 color; + // use this for whatever you want + u64 userdata; } SelectorEntry; typedef struct { @@ -482,7 +484,7 @@ typedef struct { char *last_request_query; // last query string which we sent a request for Selector selector; // for "go to definition of..." menu - SymbolInfo *selector_all_definitions; // an array of all definitions + SymbolInfo *all_definitions; // an array of all definitions (gotten from workspace/symbols) for "go to definition" menu } Definitions; typedef struct { |