mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
GTextEditor: Add write_to_file(String path) :^)
This commit is contained in:
parent
a5bc20c733
commit
187d7cb400
3 changed files with 40 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue