about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-29 11:26:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-29 11:26:24 -0800
commit6601c9fad87fb8b06df442c964486c8050fec3ac (patch)
tree9d048b26a671ad9788bafc2e2aef7b559692e102
parent0f4aea6db747498467ab5b43a762ef3d5f39f56b (diff)
downloadtext.love-6601c9fad87fb8b06df442c964486c8050fec3ac.tar.gz
update doc
-rw-r--r--reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference.md b/reference.md
index c158bef..84f6f0e 100644
--- a/reference.md
+++ b/reference.md
@@ -190,7 +190,7 @@ There's much more I could include here; check out [the LÖVE manual](https://lov
 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)` --
+* `state = edit.initialize_state(top, left, right, font, line_height)` --
   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,