Connect CodeHighlighter with TextEdit without friend-access
This commit is contained in:
@ -41,8 +41,6 @@
|
||||
class TextEdit : public Control {
|
||||
GDCLASS(TextEdit, Control);
|
||||
|
||||
friend class CodeHighlighter;
|
||||
|
||||
public:
|
||||
/* Edit Actions. */
|
||||
enum EditAction {
|
||||
@ -1029,6 +1027,8 @@ public:
|
||||
void set_draw_spaces(bool p_enabled);
|
||||
bool is_drawing_spaces() const;
|
||||
|
||||
Color get_font_color() const;
|
||||
|
||||
TextEdit(const String &p_placeholder = String());
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user