Rework script external modification tracking

This commit is contained in:
kobewi 2025-01-16 00:56:32 +01:00
parent 4ce466d7fa
commit b761ff662e
5 changed files with 30 additions and 13 deletions

View file

@ -173,6 +173,11 @@ protected:
static void _bind_methods();
public:
struct EditedFileData {
String path;
uint64_t last_modified_time = -1;
} edited_file_data;
virtual void add_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highlighter) = 0;
virtual void set_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highlighter) = 0;