Commit Graph

37 Commits (b11bfc7683c7ecb6ffea1932578c628a4e70caee)

Author SHA1 Message Date
Oliver 7c9e464bac Cursor fix for empty text areas / input fields. Fixes #915 11 months ago
Oliver 05d01944a1 Don't attempt to find the cursor if the TextArea width is unknown. Fixes #915 11 months ago
Oliver 1b91b8131c Fixed excess calls to the "changed" callback in InputField and TextArea. Fixes #908 11 months ago
Oliver 8b7bcf9883 InputField is now based on TextArea. 11 months ago
Oliver 6c844bdc5f Fixed calculation of widest line. 12 months ago
Oliver caea67a4ef Implemented string parser and migrated all widgets but TextView. 1 year ago
Oliver ccc2c81197 Clarifications in comments. 1 year ago
mizunooto 5f8630c515 textarea -- fix nextUndo after SetText 1 year ago
Oliver 47b3275db4 Form elements can now also be disabled. Resolves #192 2 years ago
Oliver ed3ea789e9 Text area can now be added to forms. See #594 2 years ago
Oliver 0b2ae10823 Removed dump() function which was used for debugging only. 2 years ago
Oliver 55965cf21d Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display. 2 years ago
Oliver 4664d8bf22 Only moving the cursor up or down in the text area will preserve the desired column position. 2 years ago
Oliver 532bb46474 Minor clarifications. 2 years ago
Oliver 1ae26e1ab6 Added Alt-Backspace to text area. Also added a text area demo. 2 years ago
Oliver cecb44578c Setting focus is now based on a "mouse down" event instead of a "click" event. 2 years ago
Oliver 384c772b0b Extended the text area's API to include some useful functions. 2 years ago
Oliver 9e30817840 More key options for more terminals. 2 years ago
Oliver 356302bdf2 Clarification on terminal configurations and key binds. 2 years ago
Oliver 0ded991cb4 Fixes. Ready for testing. 2 years ago
Oliver f2c8ab440f Added mouse handling as well as lots of improvements and bugfixes. 2 years ago
Oliver 99cf18bf98 Implemented undo/redo. 2 years ago
Oliver eb795cd8e5 Reimplemented TextArea.replace() function, considering undo handling now. 2 years ago
Oliver 980ae61d2a Added tabs. Also added TextArea to main documentation. 2 years ago
Oliver ad62b2aa7c Implemented the clipboard. 2 years ago
Oliver 8b7b755a7f Implemented selections. 2 years ago
Oliver 6680aa9dbe Implemented line deletion (Ctrl-U). 2 years ago
Oliver 8240d3d479 Added more editing functions. 2 years ago
Oliver 286f73a109 Added basic text entering. 2 years ago
Oliver 17194d2e94 Finished navigation with word jumping. 2 years ago
Oliver e6d82ac482 Trying to wrap up basic navigation. 2 years ago
Oliver cd99ea8d03 Basic navigation. 2 years ago
Oliver c9d192d7e1 Showing cursor. 2 years ago
Oliver 4810fa9397 TextArea bugfixes. Also started definining the cursor. 2 years ago
Oliver ac1f564949 Implemented basic text area printing. 2 years ago
Oliver 1e4803bade Updated TextArea specification with more keyboard events. 2 years ago
Oliver 566470eb7a Some basic TextArea code. 2 years ago