Sam Whited
318c788ee4
Fix docs about multi-line text in forms
...
Previously TextAreas could not be added to forms. This functionality has
been added, but the documentation still said that it was not possible.
Signed-off-by: Sam Whited <sam@samwhited.com>
2024-11-23 09:18:42 -05:00
Oliver
1ad6daede2
Text area has default size to avoid issues before first Draw. Fixes #1025
2024-09-21 13:32:33 +02:00
Oliver
fc5680eecb
Fixed text area selection border cases. Fixes #988
2024-05-19 10:01:16 +02:00
Oliver
fec4f00cf0
Handling end-of-text special case in TextArea.Select(). Fixes #958
2024-04-02 22:13:23 +02:00
Oliver
c9421b4bd9
Enabled bracketed pasting.
2024-02-04 16:11:39 +01:00
Oliver
7c9e464bac
Cursor fix for empty text areas / input fields. Fixes #915
2023-11-15 19:32:40 +01:00
Oliver
05d01944a1
Don't attempt to find the cursor if the TextArea width is unknown. Fixes #915
2023-11-13 07:38:14 +01:00
Oliver
1b91b8131c
Fixed excess calls to the "changed" callback in InputField and TextArea. Fixes #908
2023-11-02 19:32:19 +01:00
Oliver
8b7bcf9883
InputField is now based on TextArea.
2023-10-24 23:15:18 +02:00
Oliver
6c844bdc5f
Fixed calculation of widest line.
2023-10-07 20:37:32 +02:00
Oliver
caea67a4ef
Implemented string parser and migrated all widgets but TextView.
2023-08-22 23:16:59 +03:00
Oliver
ccc2c81197
Clarifications in comments.
2023-08-14 14:00:05 +03:00
mizunooto
5f8630c515
textarea -- fix nextUndo after SetText
2023-06-10 13:14:00 +03:00
Oliver
47b3275db4
Form elements can now also be disabled. Resolves #192
2023-03-20 07:26:01 +01:00
Oliver
ed3ea789e9
Text area can now be added to forms. See #594
2022-11-15 15:33:49 +01:00
Oliver
0b2ae10823
Removed dump() function which was used for debugging only.
2022-11-14 16:11:12 +01:00
Oliver
55965cf21d
Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display.
2022-09-11 21:02:40 +02:00
Oliver
4664d8bf22
Only moving the cursor up or down in the text area will preserve the desired column position.
2022-09-06 21:45:28 +02:00
Oliver
532bb46474
Minor clarifications.
2022-09-03 14:53:48 +02:00
Oliver
1ae26e1ab6
Added Alt-Backspace to text area. Also added a text area demo.
2022-09-03 11:17:30 +02:00
Oliver
cecb44578c
Setting focus is now based on a "mouse down" event instead of a "click" event.
2022-09-02 17:49:12 +02:00
Oliver
384c772b0b
Extended the text area's API to include some useful functions.
2022-08-28 12:54:24 +02:00
Oliver
9e30817840
More key options for more terminals.
2022-08-27 16:52:08 +02:00
Oliver
356302bdf2
Clarification on terminal configurations and key binds.
2022-08-27 11:28:26 +02:00
Oliver
0ded991cb4
Fixes. Ready for testing.
2022-08-27 11:27:13 +02:00
Oliver
f2c8ab440f
Added mouse handling as well as lots of improvements and bugfixes.
2022-08-25 22:09:52 +02:00
Oliver
99cf18bf98
Implemented undo/redo.
2022-08-21 13:45:58 +02:00
Oliver
eb795cd8e5
Reimplemented TextArea.replace() function, considering undo handling now.
2022-08-19 20:30:40 +02:00
Oliver
980ae61d2a
Added tabs. Also added TextArea to main documentation.
2022-08-13 17:03:57 +02:00
Oliver
ad62b2aa7c
Implemented the clipboard.
2022-08-13 16:55:36 +02:00
Oliver
8b7b755a7f
Implemented selections.
2022-08-13 15:19:11 +02:00
Oliver
6680aa9dbe
Implemented line deletion (Ctrl-U).
2022-08-12 10:56:52 +02:00
Oliver
8240d3d479
Added more editing functions.
2022-08-11 21:38:42 +02:00
Oliver
286f73a109
Added basic text entering.
2022-08-08 22:58:05 +02:00
Oliver
17194d2e94
Finished navigation with word jumping.
2022-08-07 14:37:50 +02:00
Oliver
e6d82ac482
Trying to wrap up basic navigation.
2022-08-05 20:32:17 +02:00
Oliver
cd99ea8d03
Basic navigation.
2022-08-05 10:44:42 +02:00
Oliver
c9d192d7e1
Showing cursor.
2022-07-30 23:13:34 +02:00
Oliver
4810fa9397
TextArea bugfixes. Also started definining the cursor.
2022-07-30 20:26:39 +01:00
Oliver
ac1f564949
Implemented basic text area printing.
2022-07-30 15:59:31 +01:00
Oliver
1e4803bade
Updated TextArea specification with more keyboard events.
2022-07-28 10:44:00 +01:00
Oliver
566470eb7a
Some basic TextArea code.
2022-07-27 12:48:38 +01:00