From 8d47460580c6e17ff800aaac2dbbb11c3520cc44 Mon Sep 17 00:00:00 2001 From: Victor Wheeler Date: Mon, 7 Oct 2024 10:04:59 -0600 Subject: [PATCH] docs: update macro LV_TA_CURSOR_LAST => LV_TEXTAREA_CURSOR_LAST (#6995) --- docs/widgets/textarea.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/textarea.rst b/docs/widgets/textarea.rst index d5f5328dd..83733ab23 100644 --- a/docs/widgets/textarea.rst +++ b/docs/widgets/textarea.rst @@ -77,7 +77,7 @@ Move the cursor The cursor position can be modified directly like :cpp:expr:`lv_textarea_set_cursor_pos(textarea, 10)`. The ``0`` position means -"before the first characters", :cpp:enumerator:`LV_TA_CURSOR_LAST` means "after the +"before the first characters", :cpp:enumerator:`LV_TEXTAREA_CURSOR_LAST` means "after the last character" You can step the cursor with