summaryrefslogtreecommitdiff
path: root/ide-autocomplete.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 14:57:26 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 14:57:26 -0500
commit547bfbba7a1ef84d397711882a501fc4914addba (patch)
treefd702946ac77db0c828e871f4ad90ae6fe99198b /ide-autocomplete.c
parentf2c8a3a77fdd7f397e04edcaf5dae5e7777f03b6 (diff)
show location in definitions menu
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r--ide-autocomplete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c
index f1c3c13..a30a33f 100644
--- a/ide-autocomplete.c
+++ b/ide-autocomplete.c
@@ -502,6 +502,7 @@ static void autocomplete_frame(Ted *ted) {
const char *detail = completion->detail;
if (detail) {
+ // draw detail
double label_end_x = state.x;
char show_text[128] = {0};
@@ -524,7 +525,6 @@ static void autocomplete_frame(Ted *ted) {
if (!detail[amount_detail]) break;
}
if (amount_detail >= 3) {
- //rgba_u32_to_floats(colors[COLOR_COMMENT], state.color);
text_utf8_anchored(font, show_text, state.max_x, state.y,
colors[COLOR_COMMENT], ANCHOR_TOP_RIGHT);
}