mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibGUI: Add TextEditor::has_document()
This commit is contained in:
parent
743157348d
commit
7331b74731
Notes:
sideshowbarker
2024-07-18 11:31:54 +09:00
Author: https://github.com/itamar8910
Commit: 7331b74731
Pull-request: https://github.com/SerenityOS/serenity/pull/8243
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
|
||||
const TextDocument& document() const { return *m_document; }
|
||||
TextDocument& document() { return *m_document; }
|
||||
bool has_document() const { return !!m_document; }
|
||||
|
||||
virtual void set_document(TextDocument&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue