mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Change precedence in rules to make location after proper casing.
This commit is contained in:
parent
75de1ca768
commit
19632eaf50
2 changed files with 31 additions and 31 deletions
|
@ -482,7 +482,6 @@ TypedArray<int> ScriptLanguage::CodeCompletionOption::get_option_characteristics
|
|||
}
|
||||
charac.push_back(matches.size());
|
||||
charac.push_back((matches[0].first == 0) ? 0 : 1);
|
||||
charac.push_back(location);
|
||||
const char32_t *target_char = &p_base[0];
|
||||
int bad_case = 0;
|
||||
for (const Pair<int, int> &match_segment : matches) {
|
||||
|
@ -494,6 +493,7 @@ TypedArray<int> ScriptLanguage::CodeCompletionOption::get_option_characteristics
|
|||
}
|
||||
}
|
||||
charac.push_back(bad_case);
|
||||
charac.push_back(location);
|
||||
charac.push_back(matches[0].first);
|
||||
last_matches = matches;
|
||||
return charac;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue