mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +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
|
@ -29,8 +29,6 @@ public:
|
|||
DeprecatedString const& file_path() const { return m_file_path; }
|
||||
Optional<Syntax::Language> const& language() const { return m_language; }
|
||||
|
||||
virtual bool is_code_document() const override final { return true; }
|
||||
|
||||
enum class DiffType {
|
||||
None,
|
||||
AddedLine,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue