From 6601c9fad87fb8b06df442c964486c8050fec3ac Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 29 Dec 2023 11:26:24 -0800 Subject: [PATCH] update doc --- reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,