diff options
| author | Ignacio Etcheverry | 2017-08-29 18:16:03 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-29 19:40:28 +0200 |
| commit | 8bd92a96a40b6d680c2e416f86fae30757766bf3 (patch) | |
| tree | e09471df325d54a94ce7336f913980a162f3a2e0 /modules/gdscript/gd_editor.cpp | |
| parent | ddb1ce08c3cf5f9b978566c8196b9f387d3edf9a (diff) | |
| download | godot-8bd92a96a40b6d680c2e416f86fae30757766bf3.tar.gz godot-8bd92a96a40b6d680c2e416f86fae30757766bf3.tar.zst godot-8bd92a96a40b6d680c2e416f86fae30757766bf3.zip | |
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
| -rw-r--r-- | modules/gdscript/gd_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index 376a0f434..fb895b692 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -1863,11 +1863,11 @@ static void _find_call_arguments(GDCompletionContext &context, const GDParser::N arghint += ", "; else arghint += " "; - if (i == p_argidx) { + if (i == p_argidx || (mi.flags & METHOD_FLAG_VARARG && i > p_argidx)) { arghint += String::chr(0xFFFF); } arghint += _get_visual_datatype(mi.arguments[i]) + " " + mi.arguments[i].name; - if (i == p_argidx) { + if (i == p_argidx || (mi.flags & METHOD_FLAG_VARARG && i > p_argidx)) { arghint += String::chr(0xFFFF); } } |
