You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
This commit is contained in:
@@ -882,6 +882,15 @@ Error EditorHelp::_goto_desc(const String& p_class,int p_vscr) {
|
||||
class_desc->pop();
|
||||
}
|
||||
|
||||
if (cd.methods[i].qualifiers.find("vararg")!=-1) {
|
||||
class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/text_color"));
|
||||
class_desc->add_text(",");
|
||||
class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/symbol_color"));
|
||||
class_desc->add_text(" ... ");
|
||||
class_desc->pop();
|
||||
class_desc->pop();
|
||||
}
|
||||
|
||||
class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/symbol_color"));
|
||||
class_desc->add_text(cd.methods[i].arguments.size()?" )":")");
|
||||
class_desc->pop();
|
||||
|
||||
Reference in New Issue
Block a user