mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
HackStudio: Remove redundant set_cursor() override
All this does is call the immediate parent's implementation.
This commit is contained in:
parent
f2c1130f23
commit
e685b0a819
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue