Commit Graph
21 Commits
Author SHA1 Message Date
Maas Lalani 715108b08b fix(textarea): better SeekInner and SeekAround 2022-08-15 10:38:15 -04:00
Maas Lalani 3e1a14200c fix(textarea): ActionChange + e should also delete end of word 2022-08-15 10:38:15 -04:00
Maas Lalani 907f5e659d feat(textarea): motions for seeking to characters (f/t/T/F/a/i) 2022-08-15 10:38:15 -04:00
Maas Lalani 2cffee5f40 fix(textarea): deleteRange multiple lines 2022-08-15 10:38:15 -04:00
Maas Lalani 8c9798c7f6 feat(textarea): findWordRight / findWordLeft 2022-08-15 10:38:15 -04:00
Maas Lalani fdfe776a07 feat: delete/change ranges 2022-08-15 10:38:14 -04:00
Maas Lalani fb44abddf8 refactor: split files into {modal,normal,insert}.go 2022-08-15 10:38:14 -04:00
Maas Lalani 447ff2da6a feat: ranges and motions 2022-08-15 10:38:14 -04:00
Maas Lalani 57a01e62e3 fix: cursor updating
cursor remains static in Normal mode and blinks in insert mode.
2022-08-15 10:38:14 -04:00
Maas Lalani f5b74d002c feat(textarea): basic vim emulation
Normal & Insert Mode
Normal Mode:
* i/I/a/A insert at cursor, after cursor, start, end
* e/E/w/W word forward
* b/B word backward
* h/j/k/l cursor left/down/up/right
* p to paste
2022-08-15 10:38:06 -04:00
Maas Lalani 93e3c756c4 docs: responsive images for mobile 2022-08-08 17:35:57 -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 8f65160828 fix: add ctrl+h to backspace text 2022-07-31 13:20:02 -04:00
Maas Lalani e32dcde62a fix(viewport): Guard against negative string repetitions (#196) 2022-07-21 14:39:17 -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
Maas Lalani 93e464296e docs(list): fix linting errors 2022-06-16 18:47:55 -04:00