summaryrefslogtreecommitdiff
path: root/docs/typ/reference.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/reference.typ')
-rw-r--r--docs/typ/reference.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 126330fa..2b0f31c0 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1171,6 +1171,10 @@ of it is laid out by `view` and drawn by `paint`.
and a click say the view they came from. `paint` is called once a frame
in each view, `win->view` the one, and changes nothing (a Debug build
checks the kind's memory across it); a picture over 32 MiB is dropped.
+ Since ABI 3.4 the window holds the theme's search hit colours,
+ `win->hit` and the current hit's `win->hit_current` (`PA_RGB`), which an
+ addon reads once `api->abi >= 0x30004`: a PDF's search draws its hits
+ in them, as the body draws a file's.
- Every call returns within 2 ms; what takes longer goes on a job. A Debug
pardes says a call over 16 ms once (`pdf: search took 118 ms, over 16
ms`) and `--addon-test` fails on it.