Abstracted the syntax highlighter from text edit

This commit is contained in:
Paulb23 2018-04-02 12:41:44 +01:00
parent 098c7ba4f9
commit f7c727e6c3
11 changed files with 828 additions and 272 deletions

View file

@ -246,6 +246,9 @@ protected:
static void _bind_methods();
public:
virtual void add_syntax_highlighter(SyntaxHighlighter *p_highlighter);
virtual void set_syntax_highlighter(SyntaxHighlighter *p_highlighter);
virtual void apply_code();
virtual Ref<Script> get_edited_script() const;
virtual Vector<String> get_functions();