Commit graph

26 commits

Author SHA1 Message Date
Leon Mika 5424a6b927 Allowed open-right to work on all columns
Previously it only worked on the right-most column.  Also bounded this command to "O" (this might change).
2022-07-01 16:15:54 +10:00
Leon Mika 975955236f Added support for TSV files
This uses a similar parser as CSV files, except configured for tabs.
Have also fixed the configured parser to ignore column counts.
2022-06-03 10:29:06 +10:00
Leon Mika 82face0010 Fixed some bugs with the backspace key mappings 2021-03-24 08:28:40 +11:00
Leon Mika 185900d626 Replaced termbox with tcell 2021-03-24 08:23:23 +11:00
Leon Mika e790b508a1 Some small quality of life improvements
- Added Ctrl+A and Ctrl+E for moving around the edit bar a.la. Emacs
- Added the "yank" and "paste" command to copy and paste a single cell value.  These are mapped to "y" and "p".
- Modified the edit bar so that entering commands is the only case where typing backspace on an empty edit bar will cancel out of edit mode
2020-10-21 14:39:59 +11:00
Leon Mika 6e6e586f1d Added temporary command x-replace
This runs a search and replace over the entire model.  This is just
temporary at the moment in order to get something working.

Also added hitting backspace on an empty entrybox to cancel it.
2020-09-29 23:08:57 +00:00
Leon Mika 04aeff6b52 Added go.mod 2020-09-29 00:56:36 +00:00
Leon Mika 9c0f4d7b37 Added a readme and license. 2020-09-29 00:33:14 +00:00
Leon Mika a49613f7e9 Added the notion of a grid view model. 2020-06-16 14:23:17 +10:00
Leon Mika 598d9bd962 Added search and replaced split out edit and replace cell commands 2020-06-16 10:08:19 +10:00
Leon Mika b658536ad1 Started working on opening down and right 2020-06-16 10:08:03 +10:00
Leon Mika 3a7c4d764b Fixed a few loading bugs 2018-09-01 12:02:01 +10:00
Leon Mika ae833d5db8 Have actually implemented useful commands for reading/writing CSV files 2018-09-01 11:27:34 +10:00
Leon Mika 33847a78c1 Have added prompting. 2017-08-26 09:48:22 +10:00
lmika 665bc8cdae Started work on model types. 2015-03-24 13:12:40 +11:00
lmika 910bdbc854 A lot of work. Started working on the session objects and added a new text display component and componant switcher. 2015-01-06 22:34:06 +11:00
lmika e86cb4fd63 Implemented a single-line text box. This implements many of the features missing from the text entry used in version 1. 2015-01-05 22:50:02 +11:00
lmika 6227b76b86 Added a key event listener which components can implement, and have also mapped termio keys into local keys. 2015-01-03 23:09:35 +11:00
lmika 4a831f7730 Moved the grid control into the UI package. 2015-01-03 19:05:04 +11:00
lmika 96f3271cd6 Have reimplemented the main components and introduced layout components. 2015-01-03 18:50:37 +11:00
lmika eab0eb1caf Really removed the makefile now. 2015-01-03 10:37:46 +11:00
lmika ea0b8e933c Rearranged the source files and removed the makefile. To build run: go build ./... 2015-01-03 10:37:15 +11:00
lmika b187b05812 Completed enough of the grid functionality for it to be usable. 2013-06-05 13:26:10 +10:00
lmika 145bbe3d00 More work on the grid. Reasonably happy with the first version. Grid now moves by cells instead of by points (for simplicity sake). 2013-06-04 23:25:02 +10:00
lmika a1c3c0d295 Added initial version of the grid and the model. Much work left to do on this. 2013-06-04 16:17:48 +10:00
lmika 1975e79788 Initial version of ted-v2. 2013-06-04 11:27:43 +10:00