Commit Graph

70 Commits

Author SHA1 Message Date
Oliver 3e06d118c3 Improved documentation. 2024-11-02 15:52:00 +01:00
Oliver 79d4cc3212 Added individual styling for selected table cells. Resolves #934 2024-04-06 16:14:10 +02:00
Oliver 13affe3057 Table.CellAt is now public. Resolves #948 2024-04-04 12:48:00 +02:00
Oliver e350bef1f9 Fixed an infinite loop after clearing a selected cell. Fixes #944 2024-03-07 17:23:12 +01:00
Kian-Meng Ang 5d85e6a030 Fix typos
Found via `codespell -H -S .git -L rightt,wth,bu`
2023-11-02 13:24:14 +08:00
Oliver caea67a4ef Implemented string parser and migrated all widgets but TextView. 2023-08-22 23:16:59 +03:00
Oliver 6785f5f28f Rewrote table navigation logic. Fixes #842 2023-06-18 12:56:14 +02:00
Oliver db36428c92 Updated README screencast. Also fixed Table rendering issue. 2022-11-28 17:58:37 +01:00
Oliver 09f052e6ca Fixed finding of previous/next selectable cell in Table. Fixes #768 2022-11-17 07:52:07 +01:00
Oliver 04a46906d2 lastColumn of a table must also be adjusted when columns are deleted. Fixes #736 2022-11-13 19:07:20 +01: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 9994674d60 Bugfix: Movement on empty tables could lead to infinite loops. Fixes #705, resolves #706 2022-03-07 23:21:20 +01:00
Oliver 644955c6b5 Calling Table.Select() will also clamp the selection to the visible screen. Fixes #683 2022-02-15 18:19:27 +01:00
Oliver 5508f4b002 Added italics and strikethrough to style attributes. Resolves #457 2021-10-01 12:26:48 +02:00
Oliver ee97a7ab39 Allowing users to determine whether a table selection should wrap. Defaults to false now. Resolves #656 2021-09-26 20:16:11 +02:00
Oliver 9b6f0f012d Navigation bugfix and improved comments. 2021-08-08 11:52:26 +02:00
Oliver 2cef1c04ba Rewrote Table to accommodate virtual tables. 2021-08-08 00:25:53 +02:00
Oliver ae9464cc35 Upgraded printing and style handling to the new definition of tcell.ColorDefault. 2021-03-12 18:48:52 +01:00
Oliver dfabe788d4 Allowing list items to shift horizontally. Resolves #512, fixes #513 2021-02-15 18:26:27 +01:00
Oliver 5406288b8e Improved finding the next selectable cells in Tables. Resolves #498 2020-12-04 20:08:10 +01:00
Oliver 675ed5b96b Removed Focusable interface. 2020-11-17 19:33:25 +01:00
Oliver e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 2020-10-18 14:15:57 +02:00
Oliver 9b49eb3fef Added a "clicked" handler to TableCell. Resolves #470 2020-09-15 13:09:44 +02:00
Oliver deb54e1422 Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421 2020-08-18 12:05:43 +02:00
rivo 7e599fe9aa
Merge pull request #403 from tslocum/scrolltable
Fix scrolling table with PageDown and PageUp
2020-04-14 13:51:03 +02:00
Oliver f395cf6e33 Added mouse scrolling to List, Table, TextView, and TreeView. 2020-03-29 21:36:06 +02:00
Oliver 5f5b79b00e Added mouse support for Table and TreeView. 2020-03-27 21:13:03 +01:00
Trevor Slocum 5c7d71700b Fix scrolling table with PageDown and PageUp
Resolves #402.
2020-02-20 19:57:35 -08:00
Oliver ba670d23ba The inner area of a Box does not clamp to screen borders anymore. Consequently added some drawing optimization to primitives. Resolves #405 2020-02-19 18:31:32 +01:00
Oliver 2d957c4be0 Added an "evaluate all rows" flag to Table. Resolves #345 2019-11-21 20:56:45 +01:00
Oliver 23dc8a0944 Table.Select() also triggers "selection changed" event. Fixes #323 2019-07-21 15:54:19 +02:00
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver 03d744dee3 SetOffset() also turns off end-tracking in Table. Fixes #238 2019-03-08 20:13:09 +01:00
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 2019-02-13 16:07:01 +01:00
Oliver 2b7ed85b88 Added InsertRow() and InsertColumn() to Table, see #213 2019-01-23 16:36:09 +01:00
Guendisch, Dieter 55dadc0057 Added a reference to TableCell. Fixes feature request #229. 2019-01-22 20:46:32 +01:00
Oliver 8cf347b745 Added row/column removal functions to Table. Resolves #174 2018-11-10 13:03:06 +01:00
Oliver 6d988e2839 Minor typo fixes. 2018-10-27 14:28:12 +02:00
Oliver 00de4610ae Added custom higlight styles to Table. Resolves #154 2018-09-05 10:39:21 +02:00
Oliver 4631cd7337 Added the tree view. 2018-06-20 10:06:05 +02:00
Benjamin Weidig 06dd16088a replaced old borders code with new configurable borders 2018-06-09 14:58:29 +02:00
Oliver a26df4e781 Added SetAttributes() and SetStyle() to TableCell. Resolves #111 2018-05-15 16:59:07 +02:00
Oliver 83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver 761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 2018-03-10 12:59:42 +01:00
Oliver ccd80aa4fc Minor code reduction. 2018-03-05 14:18:04 +01:00
Oliver 8cb36ea743 Added expansion factor to table cells which grows columns if there is more space than needed. Resolves #62 2018-03-05 14:07:18 +01:00
Oliver 37a7254a64 Some comment cleanup. 2018-02-13 14:17:51 +01:00
Takumasa Sakao 453c374c1c Add GetOffset method on Table 2018-02-12 03:35:26 +09:00
Oliver ef6026df3d Fixed table background colors. More sophisticated but more aesthetically pleasing. Fixes #20 2018-01-20 23:04:09 +01:00