diff --git a/Userland/DevTools/HackStudio/Editor.cpp b/Userland/DevTools/HackStudio/Editor.cpp index 3de246e535..aa8aa7db5a 100644 --- a/Userland/DevTools/HackStudio/Editor.cpp +++ b/Userland/DevTools/HackStudio/Editor.cpp @@ -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()) { diff --git a/Userland/DevTools/HackStudio/Editor.h b/Userland/DevTools/HackStudio/Editor.h index e1461dac6d..db60d41e9d 100644 --- a/Userland/DevTools/HackStudio/Editor.h +++ b/Userland/DevTools/HackStudio/Editor.h @@ -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: