Skip to content

Commit e6de93b

Browse files
committed
UI: add menu control key indicators
1 parent c4eb272 commit e6de93b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ui/textedit.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,10 @@ int TextEditInput::getCompletions(StringList *list, int max) {
14071407
if (len > 0) {
14081408
for (int i = 0; i < keyword_help_len && count < max; i++) {
14091409
if (strncasecmp(selection, keyword_help[i].keyword, len) == 0) {
1410-
list->add(keyword_help[i].keyword);
1410+
String *s = new String();
1411+
s->append(" ");
1412+
s->append(keyword_help[i].keyword);
1413+
list->add(s);
14111414
count++;
14121415
}
14131416
}

0 commit comments

Comments
 (0)