diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-07 13:52:08 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-07 13:52:08 +0200 |
commit | d013fc3f036e8b5b809e460ab4e104c70f6acb0c (patch) | |
tree | fa24d09f822b7ebb6e66181c4ece9e63619102e7 /core/object/script_language.cpp | |
parent | d1c94eef062a33f314ddea541eddb827c3289bda (diff) | |
parent | 19632eaf5006ed147e0922523da268f62b528033 (diff) | |
download | redot-engine-d013fc3f036e8b5b809e460ab4e104c70f6acb0c.tar.gz |
Merge pull request #81304 from ajreckof/Change-precedence-in-rules-to-make-location-after-proper-casing-
Change precedence in rules to make location after proper casing.
Diffstat (limited to 'core/object/script_language.cpp')
-rw-r--r-- | core/object/script_language.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language.cpp b/core/object/script_language.cpp index a8b0e426ae..0de03662a0 100644 --- a/core/object/script_language.cpp +++ b/core/object/script_language.cpp @@ -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; |