GTextEditor: Add write_to_file(String path) :^)

This commit is contained in:
Andreas Kling 2019-03-07 17:06:11 +01:00
commit 187d7cb400
Notes: sideshowbarker 2024-07-19 15:08:13 +09:00
3 changed files with 40 additions and 2 deletions

View file

@ -49,6 +49,8 @@ public:
GTextPosition cursor() const { return m_cursor; }
int glyph_width() const { return font().glyph_width('x'); }
bool write_to_file(const String& path);
private:
virtual void paint_event(GPaintEvent&) override;
virtual void resize_event(GResizeEvent&) override;