mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
HackStudio+LibGUI: Remove TextDocument::is_code_document()
The same thing can be accomplished with `is` and `verify_cast`, without making LibGUI care about HackStudio internals.
This commit is contained in:
parent
63d14a7e6e
commit
d832f3a887
3 changed files with 2 additions and 8 deletions
|
@ -150,8 +150,6 @@ public:
|
|||
TextPosition insert_at(TextPosition const&, StringView, Client const* = nullptr);
|
||||
void remove(TextRange const&);
|
||||
|
||||
virtual bool is_code_document() const { return false; }
|
||||
|
||||
bool is_empty() const;
|
||||
bool is_modified() const { return m_undo_stack.is_current_modified(); }
|
||||
void set_unmodified();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue