mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
HackStudio: Make use of existing TextEditor::on_focusin callback
This commit is contained in:
parent
5aab31dc40
commit
4c551bfad9
3 changed files with 1 additions and 16 deletions
|
@ -28,7 +28,6 @@ public:
|
|||
|
||||
virtual ~Editor() override = default;
|
||||
|
||||
Function<void()> on_focus;
|
||||
Function<void(DeprecatedString)> on_open;
|
||||
|
||||
EditorWrapper& wrapper();
|
||||
|
@ -64,8 +63,6 @@ public:
|
|||
void set_semantic_syntax_highlighting(bool value);
|
||||
|
||||
private:
|
||||
virtual void focusin_event(GUI::FocusEvent&) override;
|
||||
virtual void focusout_event(GUI::FocusEvent&) override;
|
||||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
virtual void mousemove_event(GUI::MouseEvent&) override;
|
||||
virtual void mousedown_event(GUI::MouseEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue