From 03746da73f275030832f83373388cb0f248616eb Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 5 Jun 2018 13:50:21 -0300 Subject: Add editor highlight for type-safe lines The line number is hightlighted to indicate that the line contains only type-safe code. --- core/script_language.h | 2 +- editor/editor_settings.cpp | 2 + editor/editor_themes.cpp | 2 + editor/plugins/script_text_editor.cpp | 21 +- modules/gdnative/nativescript/nativescript.cpp | 2 +- modules/gdnative/nativescript/nativescript.h | 2 +- .../pluginscript/pluginscript_language.cpp | 2 +- .../gdnative/pluginscript/pluginscript_language.h | 2 +- modules/gdscript/gdscript.h | 2 +- modules/gdscript/gdscript_editor.cpp | 4 +- modules/gdscript/gdscript_parser.cpp | 274 +++++++++++++-------- modules/gdscript/gdscript_parser.h | 15 +- modules/mono/csharp_script.h | 2 +- modules/visual_script/visual_script.cpp | 2 +- modules/visual_script/visual_script.h | 2 +- scene/gui/text_edit.cpp | 15 +- scene/gui/text_edit.h | 6 + scene/resources/default_theme/default_theme.cpp | 1 + 18 files changed, 245 insertions(+), 113 deletions(-) diff --git a/core/script_language.h b/core/script_language.h index 2950b35109..4e81b9b626 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -213,7 +213,7 @@ public: virtual Ref