Lines Matching defs:candidates
3355 // Build a list of candidates
3356 ImVector<const char*> candidates;
3359 candidates.push_back(Commands[i]);
3361 if (candidates.Size == 0)
3366 else if (candidates.Size == 1)
3370 data->InsertChars(data->CursorPos, candidates[0]);
3381 for (int i = 0; i < candidates.Size && all_candidates_matches; i++)
3383 c = toupper(candidates[i][match_len]);
3384 else if (c == 0 || c != toupper(candidates[i][match_len]))
3394 data->InsertChars(data->CursorPos, candidates[0], candidates[0] + match_len);
3399 for (int i = 0; i < candidates.Size; i++)
3400 AddLog("- %s\n", candidates[i]);