summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorDaniel J. Ramirez <djrmuv@gmail.com>2017-12-27 10:34:20 -0600
committerDaniel J. Ramirez <djrmuv@gmail.com>2017-12-27 10:35:26 -0600
commitfec41618dc919c70d6a8e6978080c0f0bba22020 (patch)
treec22ec782fc07be8f841ff9819b5835f748d09d4f /editor/editor_help.cpp
parent5c636875e418fbf055ddcff8d682639d1f096d05 (diff)
downloadredot-engine-fec41618dc919c70d6a8e6978080c0f0bba22020.tar.gz
Minor style fixes for editor help
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 814da4b5f4..41bcc7a1ea 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -947,6 +947,7 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
class_desc->pop();
class_desc->pop();
+ class_desc->push_font(doc_code_font);
class_desc->push_indent(1);
class_desc->push_table(2);
class_desc->set_table_column_expand(1, 1);
@@ -1002,6 +1003,7 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
class_desc->pop(); //table
class_desc->pop();
+ class_desc->pop(); // font
class_desc->add_newline();
class_desc->add_newline();
}
@@ -1072,6 +1074,7 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
class_desc->pop();
class_desc->add_newline();
+ class_desc->add_newline();
class_desc->push_indent(1);
@@ -1393,7 +1396,9 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
for (int i = 0; i < methods.size(); i++) {
+ class_desc->push_font(doc_code_font);
_add_method(methods[i], false);
+ class_desc->pop();
class_desc->add_newline();
class_desc->push_color(text_color);