mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
HackStudio: Remove redundant set_cursor() override
All this does is call the immediate parent's implementation.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user