diff options
author | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-05-20 13:36:24 -0400 |
---|---|---|
committer | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-05-21 02:16:30 -0400 |
commit | f78baa5f936cce8cff7359131a1e082cf6300c8b (patch) | |
tree | f21512c62f41260dfa1569f1b559cb21d71564b1 /scene/gui | |
parent | 9643b2b6def9964a24d273e7611ebf5aeefcd4b5 (diff) |
added a const keyword for a methods that return constant literal...
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/text_edit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index eb9fb2cf57..05f07b3f31 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -720,7 +720,7 @@ public: virtual void _update_cache() = 0; virtual Map<int, TextEdit::HighlighterInfo> _get_line_syntax_highlighting(int p_line) = 0; - virtual String get_name() = 0; + virtual String get_name() const = 0; virtual List<String> get_supported_languages() = 0; void set_text_editor(TextEdit *p_text_editor); |