summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/AbstractScrollableWidget.h
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-11-28 17:58:17 -0500
committerSam Atkins <atkinssj@gmail.com>2022-11-29 15:39:13 +0000
commit8231bd9bc3d725f8ba16508522c45e6d349a6a88 (patch)
tree8470fb96b1064b433fb0714110157a7a29b7c692 /Userland/Libraries/LibGUI/AbstractScrollableWidget.h
parent3c4a563415f053e1b51e52938c782137775f182b (diff)
downloadserenity-8231bd9bc3d725f8ba16508522c45e6d349a6a88.zip
LibGUI: Add IncrementalSearchBanner
Compared to traditional modal search, incremental search begins matching as soon as the user starts typing, highlighting results immediately. This refactors Itamar's work for HackStudio into a common LibGUI widget to be used in all multi-line TextEditors.
Diffstat (limited to 'Userland/Libraries/LibGUI/AbstractScrollableWidget.h')
-rw-r--r--Userland/Libraries/LibGUI/AbstractScrollableWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/AbstractScrollableWidget.h b/Userland/Libraries/LibGUI/AbstractScrollableWidget.h
index 7f16066093..6e33e2ceb4 100644
--- a/Userland/Libraries/LibGUI/AbstractScrollableWidget.h
+++ b/Userland/Libraries/LibGUI/AbstractScrollableWidget.h
@@ -56,6 +56,7 @@ public:
void scroll_to_top();
void scroll_to_bottom();
+ void update_scrollbar_ranges();
void set_automatic_scrolling_timer(bool active);
virtual Gfx::IntPoint automatic_scroll_delta_from_position(Gfx::IntPoint const&) const;
@@ -89,7 +90,6 @@ protected:
virtual void on_automatic_scrolling_timer_fired() {};
int autoscroll_threshold() const { return m_autoscroll_threshold; }
void update_scrollbar_visibility();
- void update_scrollbar_ranges();
private:
class AbstractScrollableWidgetScrollbar final : public Scrollbar {