1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibLine: Make ^R search match the input anywhere in a given line

This is closer to what other line editors (and shells) do, and makes ^R
actually useful.
This commit is contained in:
AnotherTest 2020-09-07 00:44:55 +04:30 committed by Andreas Kling
parent da56e208ef
commit da1b080935
3 changed files with 5 additions and 4 deletions

View file

@ -300,7 +300,7 @@ private:
Style find_applicable_style(size_t offset) const;
bool search(const StringView&, bool allow_empty = false);
bool search(const StringView&, bool allow_empty = false, bool from_beginning = true);
inline void end_search()
{
m_is_searching = false;