summaryrefslogtreecommitdiffstats
path: root/scene/resources/syntax_highlighter.h
diff options
context:
space:
mode:
author3deathtoll <electriccobweb@gmail.com>2023-04-07 23:46:50 +0530
committer3deathtoll <electriccobweb@gmail.com>2023-04-07 23:46:50 +0530
commit3841c4a4b4a9232c64af1bf931e921ff78e55eb0 (patch)
tree68ea3b1ce1cc2f9d1f46281ce59121140c846b7e /scene/resources/syntax_highlighter.h
parent132000f58d545cbf537cb751cb787d48c0b2085b (diff)
downloadredot-engine-3841c4a4b4a9232c64af1bf931e921ff78e55eb0.tar.gz
Make SyntaxHighlighter::get_text_edit a const function
Diffstat (limited to 'scene/resources/syntax_highlighter.h')
-rw-r--r--scene/resources/syntax_highlighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/syntax_highlighter.h b/scene/resources/syntax_highlighter.h
index 7cc58cbbda..bf263f9490 100644
--- a/scene/resources/syntax_highlighter.h
+++ b/scene/resources/syntax_highlighter.h
@@ -64,7 +64,7 @@ public:
virtual void _update_cache() {}
void set_text_edit(TextEdit *p_text_edit);
- TextEdit *get_text_edit();
+ TextEdit *get_text_edit() const;
SyntaxHighlighter() {}
virtual ~SyntaxHighlighter() {}