Eric Wollesen
023b522d35
Guards against a panic in dropdown.SetCurrentOption(-1)
...
When SetCurrentOption is called, that option's Selected hook is called,
if present. However, should -1 (no selection) be passed, then the code
would panic with an index out of range error.
5 years ago
Oliver
685bf6da76
Added GetFrontPage() to Pages. Resolves #355
5 years ago
Oliver
731cb7162a
Updated dependencies. Resolves #354
5 years ago
Oliver
bacbf5155b
Wrong comparator led to wrong scrolling behaviour. Fixes #341 , resolves #342
5 years ago
Oliver
c35e6b2b4c
Avoiding infinite loop on narrow TextViews. Fixes #333
5 years ago
Oliver
de7ae86b5b
Avoid div-by-0 in case Flex item sizes are all 0. Resolves #332 , resolves #334
5 years ago
Oliver
f8bc69b903
Every redraw of a Form re-evaluates the focus index. Fixes #144
5 years ago
Oliver
23dc8a0944
Table.Select() also triggers "selection changed" event. Fixes #323
5 years ago
Oliver
b8bb0f928f
Grid offset handling was buggy. Fixes #279
5 years ago
Oliver
f63eca142c
List changed event was not fired when SetCurrentItem() was called. Fixes #315
5 years ago
Oliver
0e689965bb
Fixed wrong handling of 8-bit ANSI colors. Fixes #317
5 years ago
Oliver
fc28d646d0
Primitive widths/heights should not become negative. Also fixed a
...
TextView issue where purging led to panics. Fixes #306
5 years ago
Oliver
c3d1d4bcf9
Added autocomplete functionality to InputField. Resolves #299 , resolves #77
5 years ago
Oliver
c0e09651e4
More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295
5 years ago
rivo
4679c7790c
Merge pull request #291 from mikeschinkel/adddropdown_init
...
Fix initialization bug in AddDropDown(), fixes #290 .
5 years ago
Oliver
95de965571
Selection bar in DropDown stretches entire width now. Also added SetTextOptions() with prefixes/suffixes etc. Resolves #289
5 years ago
Oliver
17ae691817
Reimplemented the WordWrap() function. Fixes #251
5 years ago
rivo
2e907d29e4
Merge pull request #308 from ollien/fix-row-count
...
Don't throw away nodes after drawing
5 years ago
Oliver
e3f6263a37
Added a page count getter to Pages. Resolves #310
5 years ago
Nick Krichevsky
a186f0a909
Don't throw away nodes after drawing TreeView
...
Relates to #283
5 years ago
Oliver
b62197ade4
Added GetScrollOffset() and GetRowCount() to TreeView. Resolves #283
5 years ago
Mike Schinkel
c2c3679add
Fix initialization bug in AddDropDown(), issue #290 .
5 years ago
Oliver
384f577a62
Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286
5 years ago
Oliver
29b0d3cfbf
Updated table demo screenshot. Resolves #282
5 years ago
Oliver
bd836ef13b
Added new guidelines for PR's.
5 years ago
rivo
cf9d115173
Merge pull request #269 from wedaly/master
...
Add functions to set background color, button text, and button background color on modal.
5 years ago
Oliver
7cc6943d5a
Space will also select a node in a TreeView. Resolves #280
5 years ago
Oliver
d14da4f46f
Bugfix in Grid which mistakenly compared grid item size to resolve conflicts. Fixes #277
5 years ago
Oliver
3c477cc248
TextView.ScrollTo() will turn off end-tracking. Fixes #274
5 years ago
Oliver
f16ba37c6a
Added functions to remove all buttons from forms and from modals. Resolves #259
5 years ago
Oliver
f2bf2be1ba
Bugfix in TreeView which may have caused an index out of range. Fixes #262 (hopefully)
5 years ago
Oliver
7a653a04b3
Package now uses go modules.
5 years ago
Will Daly
743e3fe55d
Add functions to set background color, button text, and button background color on modal
6 years ago
Oliver
90b4da1bd6
Fixed empty pages when the only visible page was removed. Fixes #250
6 years ago
Oliver
9d616aee87
DropDown's SetCurrentOption() will also trigger the selected event. Closes #256 , resolves #260
6 years ago
Oliver
8a9e26fab0
Hitting the Alt-key should not prevent input. Fixes #240
6 years ago
Oliver
8d5eba0c2f
Replaced runewidth.StringWidth() with my own implementation. Fixes #236
6 years ago
Oliver
2cc825800b
Switched string iteration to using the github.com/rivo/uniseg package.
6 years ago
rivo
3938f60085
Merge pull request #247 from dgrr/master
...
Added Color getter in TreeNode
6 years ago
Dario
1d0309ee28
Applied requested changes
6 years ago
Oliver
d3efe1d5e8
Fixed some comments.
6 years ago
rivo
de9730f6df
Merge pull request #200 from ravenops/feature/theme
...
Add theme struct
6 years ago
Oliver
3548dec808
Fixed a bug where neighbouring colour tags were processed incorrectly. Fixes #241
6 years ago
Oliver
03d744dee3
SetOffset() also turns off end-tracking in Table. Fixes #238
6 years ago
rivo
c16128c927
Merge pull request #220 from ardnew/list-spanhighlight
...
Add option to highlight entire selected row of a List item
6 years ago
dgrr
fc4f533e0b
Added Color getter
6 years ago
ardnew
c43d107310
merge https://github.com/rivo/tview into list-spanhighlight, resolving conflicts for rivo/tview#220
6 years ago
ardnew
26ff9c763a
renaming new struct field as requested in rivo/tview#220
6 years ago
rivo
b373355e9d
Merge pull request #235 from Bios-Marcel/prevent-regex-recompilation
...
Prevent recompilation of regexes
6 years ago
Marcel Schramm
f3b5afb8cd
Move TabSize comment in texview.go back to where it belongs.
6 years ago