improve documentation for edit.draw

[?]
Jun 8, 2023, 5:10 AM
2TFAEKOCZGJIVR7QLPUMBNLKJ4RJF4PVOTODRRZEWC6SE3L7H4HAC

Dependencies

Change contents

  • replacement in reference.md at line 218
    [3.641][2.10:89](),[2.89][3.89:191](),[3.89][3.89:191]()
    * `edit.draw(state)` -- call this from `on.draw` to display the current editor
    state on the app window as requested in the call to `edit.initialize_state`
    that created `state`.
    [3.641]
    [2.91]
    * `edit.draw(state, fg, hide_cursor)` -- call this from `on.draw` to display
    the current editor state on the app window as requested in the call to
    `edit.initialize_state` that created `state`. `fg` is the color for
    foreground text (`Text_color` is a good default). Set `hide_cursor` to stop
    showing a blinking cursor (usually because you want a `readonly` editor; see
    below).