Commit Graph

255 Commits

Author SHA1 Message Date
Oliver 2cc825800b Switched string iteration to using the github.com/rivo/uniseg package. 2019-03-14 12:47:53 +01:00
rivo 3938f60085
Merge pull request #247 from dgrr/master
Added Color getter in TreeNode
2019-03-10 12:39:48 +01:00
Dario 1d0309ee28 Applied requested changes 2019-03-09 23:33:40 +01:00
Oliver d3efe1d5e8 Fixed some comments. 2019-03-09 14:04:59 +01:00
rivo de9730f6df
Merge pull request #200 from ravenops/feature/theme
Add theme struct
2019-03-09 14:02:56 +01:00
Oliver 3548dec808 Fixed a bug where neighbouring colour tags were processed incorrectly. Fixes #241 2019-03-09 12:33:12 +01:00
Oliver 03d744dee3 SetOffset() also turns off end-tracking in Table. Fixes #238 2019-03-08 20:13:09 +01:00
rivo c16128c927
Merge pull request #220 from ardnew/list-spanhighlight
Add option to highlight entire selected row of a List item
2019-03-08 19:57:06 +01:00
dgrr fc4f533e0b Added Color getter 2019-03-07 05:58:50 -05:00
ardnew c43d107310 merge https://github.com/rivo/tview into list-spanhighlight, resolving conflicts for rivo/tview#220 2019-02-20 11:06:48 -06:00
ardnew 26ff9c763a renaming new struct field as requested in rivo/tview#220 2019-02-20 10:58:59 -06:00
rivo b373355e9d
Merge pull request #235 from Bios-Marcel/prevent-regex-recompilation
Prevent recompilation of regexes
2019-02-13 21:27:03 +01:00
Marcel Schramm f3b5afb8cd
Move TabSize comment in texview.go back to where it belongs. 2019-02-13 20:23:52 +01:00
Oliver 3e289f3aca Added TextView.GetText(). Resolves #233 2019-02-13 16:36:28 +01:00
Marcel Schramm f4690e43a0
Prevent recompilation of regexes 2019-02-13 16:26:27 +01:00
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 2019-02-13 16:07:01 +01:00
Oliver 84fdb36408 Fixed confusing comments. Fixes #231 2019-01-24 13:01:53 +01:00
Oliver 0a179573ae Improved List scrolling (using an offset member variable). Fixes #217 2019-01-23 21:40:01 +01:00
Oliver 997b18eeff Introduced a separate class-wide "selected" handler for DropDown. Resolves #206 2019-01-23 16:51:16 +01:00
Oliver 2b7ed85b88 Added InsertRow() and InsertColumn() to Table, see #213 2019-01-23 16:36:09 +01:00
rivo 20bdfcd8b2
Merge pull request #230 from dguendisch/master
Added a reference to TableCell. Fixes feature request #229.
2019-01-23 16:12:36 +01:00
Guendisch, Dieter 55dadc0057 Added a reference to TableCell. Fixes feature request #229. 2019-01-22 20:46:32 +01:00
Oliver 1ac6fbc0c2 Some clarifications in the Grid class as well as in the contributor guidelines. Resolves #231 2019-01-22 20:23:31 +01:00
rivo e5e361b9d7
Merge pull request #191 from OriPekelman/master
Add GetText() method
2019-01-13 13:08:21 +01:00
Oliver bbe0f17f96 Added FindItems() and InsertItem() to List. Also allowed negative indices for some List functions. Resolves #213, resolves #215 2019-01-12 21:22:58 +01:00
Ori Pekelman f9524f55ba move under setter and change to string 2019-01-09 18:04:51 +01:00
ardnew e0f6e89550 change: added option to span selection highlight across width of list view 2019-01-03 00:51:11 -06:00
Oliver 36893a6697 Minor improvements. 2018-12-26 21:24:39 +01:00
Oliver e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 2018-12-25 18:55:57 +01:00
Oliver f93fbad8f8 Added some clarification about QueueUpdate() and event callbacks. 2018-12-14 17:57:19 +01:00
Delaney Gillilan 5eabb29610 add theme 2018-12-05 09:17:01 -08:00
Oliver 5991278513 If a Form has no focusable elements, it keeps the focus itself. Fixes #198 2018-12-03 18:28:59 +01:00
Oliver 502ddb9205 Added a clarification. 2018-12-03 17:28:51 +01:00
Oliver d7c8911ef0 Added Application.ForceDraw(). 2018-12-03 10:50:38 +01:00
Oliver 5256865f59 Bugfix in Grid which led to wrong positions for inner grids. Fixes #195 2018-12-03 10:22:43 +01:00
Oliver 0a18dea458 Added a clarification on intercepting key events. Resolves #181 2018-11-26 12:36:27 +01:00
Oliver f13631ce74 Minor indenting change in presentation. 2018-11-26 12:15:57 +01:00
rivo 7bef21fe58
Merge pull request #190 from bcarlsson/fix-demo-example
Fixed example code in presentation demo textview
2018-11-26 12:10:24 +01:00
Oliver 19fbe6241a Making suspended mode work again on Windows. Fixes #179 2018-11-26 12:04:06 +01:00
Oliver 08411f6e81 Added an option to List which hides the selection when List has no focus. Resolves #193 2018-11-26 11:00:48 +01:00
Björn Carlsson 7164c72b7e Fixed example code in presentation demo textview 2018-11-22 08:49:20 +01:00
Oliver f1536e67fa github.com/mattn/go-runewidth supports zero-width joiners now. 2018-11-19 10:59:27 +01:00
rivo 0612ff69bf
Merge pull request #186 from ravenops/fix/185
Fixes #185
2018-11-19 10:50:12 +01:00
Oliver 1bfe98092c On Windows, tcell.Screen.Fini() sends a resize event before sending nil. Fixed resulting deadlock. Fixes #179 2018-11-19 10:35:28 +01:00
Delaney Gillilan a38d2cdc9b fix per @jr81 2018-11-18 13:15:59 -08:00
Oliver 8cf347b745 Added row/column removal functions to Table. Resolves #174 2018-11-10 13:03:06 +01:00
Oliver ebf651d1c0 Bugfix: nil return value in input capture should not stop the event loop. Fixes #179 2018-11-10 11:10:01 +01:00
Oliver ec12437564 InputField cursor position must also be adjusted when SetText() is called. Fixes #180 2018-11-10 09:17:39 +01:00
Oliver 61a4cf388a Another fix for InputField. Fixes #176, resolves #177 2018-11-05 11:09:49 +01:00
Oliver 1dd674a1b9 Simplified the queuing of Draw() calls, also introduced QueueUpdateDraw(). #172 2018-11-05 10:53:57 +01:00