From 4049176dfbcaef2919d761d9f19ac100b86a4468 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 11 Apr 2023 15:15:58 -0700 Subject: couple of typos --- reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference.md b/reference.md index 35e5b1d..db2ee1c 100644 --- a/reference.md +++ b/reference.md @@ -188,7 +188,7 @@ The text-editor widget includes extremely thorough automated tests to give you early warning if you break something. * `state = edit.initialize_state(top, left, right, font_height, line_height)` -- - returns an object that can be used to render an interactive editor widgets + returns an object that can be used to render an interactive editor widget for text and line drawings starting at `y=top` on the app window, between `x=left` and `x=right`. Wraps long lines at word boundaries where possible, or in the middle of words (no hyphenation yet) when it must. @@ -196,12 +196,12 @@ early warning if you break something. * `edit.quit()` -- calling this ensures any final edits are flushed to disk before the app exits. -* `edit.draw(state)` -- Call this from `App.draw` to display the current +* `edit.draw(state)` -- call this from `App.draw` to display the current editor state on the app window as requested in the call to `edit.initialize_state` that created `state`. -* `edit.update(state, dt)` -- call this from `App.update` to periodically auto - saves editor contents to disk. +* `edit.update(state, dt)` -- call this from `App.update` to periodically + auto-save editor contents to disk. * `edit.mouse_press(state, x,y, mouse_button)` and `edit.mouse_release(x,y, mouse_button)` -- call these to position the cursor or select some text. -- cgit 1.4.1-2-gfad0 nisanti/profani-tty/diff/tests/unittests/test_plugins_disco.c?id=315d862e22ee9d41a897d76a0297b67b877a3960'>diff stats
path: root/tests/unittests/test_plugins_disco.c
blob: 880a09b1e5612e6021648ce53250ff9cb2e8979a (plain) (tree)
1
2
3
4
5
6
7
8
9