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,