HackStudio: Remove redundant set_cursor() override

All this does is call the immediate parent's implementation.
This commit is contained in:
Sam Atkins 2024-01-11 14:13:32 +00:00 committed by Sam Atkins
parent f2c1130f23
commit e685b0a819
2 changed files with 0 additions and 6 deletions

View file

@ -593,11 +593,6 @@ void Editor::on_identifier_click(const GUI::TextDocumentSpan& span)
m_language_client->search_declaration(code_document().file_path(), span.range.start().line(), span.range.start().column());
}
void Editor::set_cursor(const GUI::TextPosition& a_position)
{
TextEditor::set_cursor(a_position);
}
void Editor::set_syntax_highlighter_for(CodeDocument const& document)
{
if (!document.language().has_value()) {

View file

@ -59,7 +59,6 @@ public:
VERIFY(m_language_client);
return *m_language_client;
}
virtual void set_cursor(const GUI::TextPosition& a_position) override;
void set_semantic_syntax_highlighting(bool value);
private: