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:
parent
da56e208ef
commit
da1b080935
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue