update doc

This commit is contained in:
Kartik K. Agaram 2023-12-29 11:26:24 -08:00
parent 0f4aea6db7
commit 6601c9fad8
1 changed files with 1 additions and 1 deletions

View File

@ -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 The text-editor widget includes extremely thorough automated tests to give you
early warning if you break something. 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 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 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, `x=left` and `x=right`. Wraps long lines at word boundaries where possible,