hhe07
b2b7040ccf
fix(textarea): paste ( #250 )
2022-10-06 15:54:43 -04:00
Maas Lalani
d3aed22a41
Revert "chore: move cursor bubble to internal"
...
This reverts commit a4ed54327f
.
2022-10-06 15:33:16 -04:00
Maas Lalani
a4ed54327f
chore: move cursor bubble to internal
2022-09-14 15:45:51 -04:00
Raphael 'kena' Poss
09e1f00349
textarea: support dynamic prompts
...
The dynamic prompt can be different on every line.
See for example:
[![asciicast](https://asciinema.org/a/iFBPBwoDZOzcoRJOgfmPk8ObH.svg )](https://asciinema.org/a/iFBPBwoDZOzcoRJOgfmPk8ObH )
2022-09-02 14:31:26 -04:00
Raphael 'kena' Poss
c099d31570
textarea: add some comments
2022-09-02 14:31:26 -04:00
Raphael 'kena' Poss
db2a8b4e16
textarea: new bindings for "go to begin" / "go to end"
2022-09-02 13:44:52 -04:00
kena
1c26128786
textarea: add uppercase/lowercase/capitalize word right ( #210 )
...
* Extract char navigation in separate function.
* Make wordLeft/wordRight find words on the prev/next line
... if there's no word on the current line to find any more.
* Support uppercase/lowercase/capitalize commands.
* Add transpose
2022-08-19 11:17:36 -04:00
kena
649f78e1fd
fix(textarea): pre-allocation of value ( #213 )
...
The maximum slice size of m.value is the max number of rows,
which is the max height.
2022-08-15 10:25:20 -04:00
kena
e72e4a190b
perf(textarea): amortize heap allocs in Value
( #212 )
2022-08-15 10:24:54 -04:00
Maas Lalani
e200bf8c81
feat: LineCount method for counting number of lines in textarea
2022-08-05 16:37:05 -04:00
Maas Lalani
47eee84147
fix: include new line characters for Length()
2022-08-05 16:37:05 -04:00
Maas Lalani
84eacf535a
fix: CharLimit <= 0 should be ignored
2022-08-04 14:52:50 -04:00
Maas Lalani
746ec595c3
fix(textarea): change placeholder color to match textinput ( #192 )
2022-07-07 22:34:48 -04:00
Maas Lalani
3a34fc4ff8
fix(textarea): Add deleteWordRight
2022-07-05 14:26:22 -04:00
Maas Lalani
2a2fb10f5f
fix(textarea): account for base styling frame when calculating width
2022-07-05 14:26:22 -04:00
Maas Lalani
2fd583c8ef
feat(textarea): Add multi-line text input
2022-06-28 12:29:24 -04:00