Merge pull request #81319 from KurtBliss/Changing-text-files-in-an-external-editor-doesn't-cause-them-to-reload-in-Script-Editor

Fix TextFile not reloading when changed from external editors
This commit is contained in:
Rémi Verschelde 2023-10-02 13:16:17 +02:00
commit 6b70dfe7e2
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -41,6 +41,9 @@ private:
String text;
String path;
protected:
virtual bool editor_can_reload_from_file() override { return false; }
public:
virtual bool has_text() const;
virtual String get_text() const;