|
@@ -3562,8 +3562,11 @@ void EditorHelpHighlighter::reset_cache() {
|
|
}
|
|
}
|
|
|
|
|
|
EditorHelpHighlighter::EditorHelpHighlighter() {
|
|
EditorHelpHighlighter::EditorHelpHighlighter() {
|
|
|
|
+ const Color text_color = EDITOR_GET("text_editor/theme/highlighting/text_color");
|
|
|
|
+
|
|
#ifdef MODULE_GDSCRIPT_ENABLED
|
|
#ifdef MODULE_GDSCRIPT_ENABLED
|
|
TextEdit *gdscript_text_edit = memnew(TextEdit);
|
|
TextEdit *gdscript_text_edit = memnew(TextEdit);
|
|
|
|
+ gdscript_text_edit->add_theme_color_override("font_color", text_color);
|
|
|
|
|
|
Ref<GDScript> gdscript;
|
|
Ref<GDScript> gdscript;
|
|
gdscript.instantiate();
|
|
gdscript.instantiate();
|
|
@@ -3580,6 +3583,7 @@ EditorHelpHighlighter::EditorHelpHighlighter() {
|
|
|
|
|
|
#ifdef MODULE_MONO_ENABLED
|
|
#ifdef MODULE_MONO_ENABLED
|
|
TextEdit *csharp_text_edit = memnew(TextEdit);
|
|
TextEdit *csharp_text_edit = memnew(TextEdit);
|
|
|
|
+ csharp_text_edit->add_theme_color_override("font_color", text_color);
|
|
|
|
|
|
// See GH-89610.
|
|
// See GH-89610.
|
|
//Ref<CSharpScript> csharp;
|
|
//Ref<CSharpScript> csharp;
|