Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
ui_document_search.hpp
1// Copyright (c) 2026 ttldtor.
2// SPDX-License-Identifier: BSL-1.0
3#pragma once
4
5#include <portals/document_search.hpp>
6#include <portals/ui_document_view.hpp>
7#include <portals/ui_find_bar.hpp>
8
9namespace portals {
10class LogView;
11}
12
13namespace portals::ui {
25Description<FindBar> findBar(Ref<DocumentView> target, std::string_view initialQuery = {}, FindBarConfig config = {},
26 DocumentSearchOptions search = {});
31Description<FindBar> findBar(Ref<FindBar> reference, Ref<DocumentView> target, std::string_view initialQuery = {},
32 FindBarConfig config = {}, DocumentSearchOptions search = {});
37Description<FindBar> findBar(Ref<LogView> target, std::string_view initialQuery = {}, FindBarConfig config = {},
38 DocumentSearchOptions search = {});
43Description<FindBar> findBar(Ref<FindBar> reference, Ref<LogView> target, std::string_view initialQuery = {},
44 FindBarConfig config = {}, DocumentSearchOptions search = {});
45} // namespace portals::ui
Native bounded plain-text log with whole-grapheme wrap and a stable reading anchor....
Definition log_view.hpp:64
Single-use owning construction recipe; no mounted widget ownership.
Definition ui_description.hpp:48
Typed Widget observation; explicit composite specializations reuse their existing weak facades.
Definition ui_ref.hpp:761
Public Portals API.
Definition action.hpp:8
Owning bounded literal search configuration; the normal editor owns query admission/history.
Definition ui_find_bar.hpp:11