Fix doc methods not showing up
This commit is contained in:
parent
d81bd965b6
commit
5c0271eed7
1 changed files with 29 additions and 33 deletions
|
@ -947,7 +947,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
|
||||||
class_desc->add_newline();
|
class_desc->add_newline();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool method_descr = false;
|
|
||||||
bool sort_methods = EditorSettings::get_singleton()->get("text_editor/help/sort_functions_alphabetically");
|
bool sort_methods = EditorSettings::get_singleton()->get("text_editor/help/sort_functions_alphabetically");
|
||||||
|
|
||||||
Vector<DocData::MethodDoc> methods;
|
Vector<DocData::MethodDoc> methods;
|
||||||
|
@ -1410,8 +1409,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (method_descr) {
|
|
||||||
|
|
||||||
section_line.push_back(Pair<String, int>(TTR("Methods"), class_desc->get_line_count() - 2));
|
section_line.push_back(Pair<String, int>(TTR("Methods"), class_desc->get_line_count() - 2));
|
||||||
class_desc->push_color(title_color);
|
class_desc->push_color(title_color);
|
||||||
class_desc->push_font(doc_title_font);
|
class_desc->push_font(doc_title_font);
|
||||||
|
@ -1447,7 +1444,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
|
||||||
class_desc->add_newline();
|
class_desc->add_newline();
|
||||||
class_desc->add_newline();
|
class_desc->add_newline();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
scroll_locked = false;
|
scroll_locked = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue