TextEditor(QWidget *parent, const std::filesystem::path &Filename)
QSyntaxHighlighter * SyntaxHighlighter
virtual void showEvent(QShowEvent *event) override
auto & GetFilename() const
const std::filesystem::path Filename
bool DoSave()
Saves the editor's content to the file Filename.
virtual void closeEvent(QCloseEvent *event) override