Skip to content

Commit

Permalink
Moved SyntaxHighlighter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Dec 10, 2023
1 parent b342586 commit 11b8f50
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "editor/editor_plugin.h"

#include "scene/resources/syntax_highlighter.h"
#include "scene/gui/resources/syntax_highlighter.h"

class EditorSyntaxHighlighter : public SyntaxHighlighter {
GDCLASS(EditorSyntaxHighlighter, SyntaxHighlighter)
Expand Down
2 changes: 1 addition & 1 deletion editor_modules/shader_editor/shader_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include "scene/gui/popup_menu.h"
#include "scene/gui/text_edit.h"
#include "scene/gui/tool_button.h"
#include "scene/resources/syntax_highlighter.h"
#include "scene/gui/resources/syntax_highlighter.h"
#include "servers/rendering/shader_language.h"
#include "servers/rendering/shader_types.h"
#include "servers/rendering_server.h"
Expand Down
2 changes: 1 addition & 1 deletion editor_modules/text_editor/text_editor_vanilla_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "scene/gui/line_edit.h"
#include "scene/gui/text_edit.h"
#include "scene/gui/texture_rect.h"
#include "scene/resources/syntax_highlighter.h"
#include "scene/gui/resources/syntax_highlighter.h"

#include "editor_code_editor/editor_code_text_editor.h"
#include "editor_code_editor/editor_find_replace_bar.h"
Expand Down
1 change: 1 addition & 0 deletions scene/gui/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Import("env")

env.add_source_files(env.scene_sources, "*.cpp")
env.add_source_files(env.scene_sources, "resources/*.cpp")
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scene/gui/text_edit.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include "scene/gui/control.h"

#include "scene/resources/syntax_highlighter.h"
#include "scene/gui/resources/syntax_highlighter.h"

class PopupMenu;
class Timer;
Expand Down
2 changes: 1 addition & 1 deletion scene/register_scene_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
#include "scene/resources/sky.h"
#include "scene/resources/sphere_shape.h"
#include "scene/resources/surface_tool.h"
#include "scene/resources/syntax_highlighter.h"
#include "scene/gui/resources/syntax_highlighter.h"
#include "scene/resources/text_file.h"
#include "scene/resources/texture.h"
#include "scene/resources/video_stream.h"
Expand Down

0 comments on commit 11b8f50

Please sign in to comment.