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.typ14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 2562c91b..4c193e0f 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1179,8 +1179,12 @@ of it is laid out by `view` and drawn by `paint`.
handed (the last allocation the answer); one asked before an
#word("Addon") `reload` answers into nothing, and the old library stays
until its last such job has answered.
-- A client of the session runs no addon's code: a pane of a kind it lacks
- shows the session's frames of it, and its keys go to the session.
+- A client of the session runs a kind whose state is plain (`PA_PLAIN`:
+ the games, the picture, the PDF) from its own addons, as the session
+ does, and draws its pictures itself. A pane of a plain kind it lacks, or
+ one that broke its promise there, shows a line saying so; a kind whose
+ state is not plain runs in the session alone, and its pane in a client
+ shows a line saying that. The session sends no pictures to a client.
- #word("Addon") `load <path>` (relative to the pane's directory) loads
one; `unload <name>` lets one go, refused while a pane of its kind is
@@ -1230,8 +1234,10 @@ of it is laid out by `view` and drawn by `paint`.
pane whose file changes on disk opens again from it, its record kept for
its `load` (a PDF stays on its page).
- An addon runs in pardes's process. A load is marked on disk while it
- runs; a start that finds the mark of one that never finished skips that
- library, listed so, until #word("Addon") `load` asks for it again. A
+ runs, with the loading process's pid; a start that finds the mark of a
+ load whose process is gone (it never finished) skips that library,
+ listed so, until #word("Addon") `load` asks for it again. Another
+ pardes's load still under way is no crash. A
crash inside one says `in addon <file>, <call>` in the crash record.
- `pardes --addon-test <lib> <script>` runs a script of keys, clicks,
words and ticks (its clock starts at 1 s), `focus` and `blur`, `size C