host: tab_find doc names the Custom Highlight fallback

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
CRTkafa 2026-10-01 16:19:12 +07:00
parent 400f22c40c
commit 4d806b647d

View file

@ -722,7 +722,7 @@ async fn tab_zoom(webview: Webview, app: AppHandle, id: String, factor: Option<f
/// Find in page for tab `id` (the shell's find bar): `start` with a query, `next`, `previous`, `stop`.
/// The engine's own find where this build can drive it (counts arrive as `tab-find` events), else the
/// evaluated `window.find`. The query is one typed line (validated) and is kept nowhere.
/// evaluated Custom Highlight script. The query is one typed line (validated) and is kept nowhere.
#[tauri::command]
async fn tab_find(webview: Webview, app: AppHandle, id: String, action: String, query: Option<String>) -> Result<(), String> {
shell_only(&webview)?;