Oliver
|
6f90b4422c
|
Fixed missed tag at EOL in TextView
This fix was cherry-picked and adapted from tview commit
ba9f3a6fa19d4eb2cebed6c256523ff90faa0bbb
Resolves #73.
|
2021-08-02 11:22:20 -07:00 |
Trevor Slocum
|
f794cceb95
|
Fix TextView.GetRegionText error when text contains color tags
Resolves #69.
|
2021-07-12 13:21:32 -07:00 |
Trevor Slocum
|
a989031127
|
Fix passing mouse events to Grid items
Events are now only passed to the item under the mouse.
|
2021-07-05 17:51:57 -07:00 |
Trevor Slocum
|
964fd51438
|
Add TextView.SetVerticalAlign
Resolves #68.
|
2021-07-05 12:52:52 -07:00 |
Trevor Slocum
|
7b45918cfa
|
Fix TextView always visible scroll bar not appearing when empty
|
2021-07-05 11:23:28 -07:00 |
Trevor Slocum
|
454d759a42
|
Add Button.SetCursorRune and CheckBox.SetCursorRune
Cursors are now shown within Buttons and CheckBoxes by default.
Resolves #62.
|
2021-06-05 10:24:43 -07:00 |
Trevor Slocum
|
011f4decc0
|
Add TextView highlight color options
|
2021-05-30 18:17:17 -07:00 |
Trevor Slocum
|
92dca67ac2
|
Fix resetting background color via '-'
The primitive background color is now used, rather than the terminal background color.
Resolves #47.
|
2021-05-25 12:45:31 -07:00 |
Trevor Slocum
|
bb362496b2
|
Fix TextView.GetTextDimensions
|
2021-04-01 17:35:06 -07:00 |
Trevor Slocum
|
2d7324e8db
|
Rename TextDimensions as GetBufferSize
|
2021-03-27 14:42:12 -07:00 |
makeworld
|
17ca6d403b
|
Read (un)lock mutex instead
|
2021-03-10 19:05:04 -05:00 |
makeworld
|
c74ebf1471
|
Add TextDimensions
|
2021-02-27 21:11:09 -05:00 |
Trevor Slocum
|
5ff1168706
|
Add TextView.SetWrapWidth
|
2020-11-03 10:29:07 -08:00 |
Trevor Slocum
|
ac2b3155fd
|
Reduce TextView reindexing when a scroll bar is visible
|
2020-10-21 10:27:53 -07:00 |
Trevor Slocum
|
28e366bbce
|
Display TextView scroll bar automatically by default
|
2020-10-21 09:36:23 -07:00 |
Trevor Slocum
|
d7f1e2ab2a
|
Add SetVisible and GetVisible to all widgets
|
2020-10-19 19:05:03 -07:00 |
Trevor Slocum
|
fdb055d99b
|
Generalize tag stripping as StripTags
|
2020-10-19 09:55:07 -07:00 |
Trevor Slocum
|
9c3564dc42
|
Add Slider
|
2020-10-11 13:39:04 -07:00 |
Trevor Slocum
|
b47c35329c
|
Fix TextView region highlighting
|
2020-10-11 12:07:30 -07:00 |
Trevor Slocum
|
ed5e6d94dd
|
Remove return values from methods which return their primitive (breaks chaining)
|
2020-10-07 16:35:21 -07:00 |
Trevor Slocum
|
6b34a95e75
|
Print text using []byte instead of string, calculate string width using runewidth instead of uniseg
|
2020-10-06 13:16:37 -07:00 |
Trevor Slocum
|
50a085333b
|
Use TrimRightFunc when wrapping text in TextView
|
2020-10-06 13:14:45 -07:00 |
Trevor Slocum
|
659788f590
|
Add TextView.SetBytes
|
2020-10-04 13:03:28 -07:00 |
Trevor Slocum
|
da799d93c0
|
Document addition of TextView.GetBytes
|
2020-10-04 12:54:31 -07:00 |
Trevor Slocum
|
710303491e
|
Store TextView buffer as [][]byte instead of []string
Partially implements #36.
|
2020-10-04 12:44:26 -07:00 |
Trevor Slocum
|
0c4f526680
|
Add WindowManager requirement to Window docs
|
2020-09-24 08:35:12 -07:00 |
Trevor Slocum
|
441992fd77
|
Add scroll bar to TextView
Resolves #34.
|
2020-09-22 18:43:19 -07:00 |
Trevor Slocum
|
a6a473f866
|
Add TextView.SetReindexBuffer
|
2020-09-03 19:23:56 -07:00 |
Trevor Slocum
|
8292f9baf2
|
Upgrade tcell to v2
Resolves #32.
|
2020-08-30 08:37:17 -07:00 |
Oliver
|
81c828bfe0
|
TextView.GetText() and .GetRegionText() didn't filter out empty colour tags. Fixes #453
|
2020-07-13 14:41:29 -07:00 |
Trevor Slocum
|
49536324ce
|
Rename Keys.SelectAlt to Keys.Select2
|
2020-06-10 09:52:50 -07:00 |
Oliver
|
06a427a43a
|
Bugfixes in ANSI escape sequence handling as well as TextView, fixes #320, fixes #344
|
2020-06-09 14:52:59 -07:00 |
Trevor Slocum
|
8acccbefa7
|
Split up shortcuts into primary and secondary
|
2020-05-18 20:06:54 -07:00 |
Trevor Slocum
|
777d2f09fc
|
Use Keys shortcuts with Button, CheckBox, Grid and Table
|
2020-05-18 19:49:25 -07:00 |
Trevor Slocum
|
3feec6ebfb
|
Document adding TextView.SetMaxLines
|
2020-05-15 14:56:19 -07:00 |
Javier Peletier
|
9f88a788e4
|
TextView: Add SetMaxLines()
|
2020-05-15 18:52:20 +02:00 |
Trevor Slocum
|
48c31ff1a0
|
Remove wiki references
|
2020-04-26 16:59:33 -07:00 |
Trevor Slocum
|
0aa37dca06
|
Expand click area of presentation demo tabs
|
2020-04-01 08:59:06 -07:00 |
rivo
|
1f765c8695
|
Merge pull request #422 from rivo/mouse
Add mouse support
|
2020-03-30 10:22:55 -07:00 |
Trevor Slocum
|
aae1af2a19
|
Make ProgressBar fields private
|
2020-03-27 12:54:05 -07:00 |
Trevor Slocum
|
e29d4b73b9
|
Make cview thread-safe
|
2020-03-25 14:32:57 +00:00 |
Trevor Slocum
|
5f880bc2c7
|
Migrate to GitLab
|
2020-01-22 15:28:19 -08:00 |
Sam Whited
|
6e0ac2dd4b
|
Don't skip regions at end of line
|
2020-01-05 08:53:56 -08:00 |
Trevor Slocum
|
b61132eddf
|
Fork tview as cview
See FORK.md for details
|
2019-12-30 15:18:26 -08:00 |
Oliver
|
0f6549646b
|
Added SetFocus() to Modal, focuses on the provided button. Resolves #364
|
2019-11-27 18:27:26 +01:00 |
Oliver
|
bacbf5155b
|
Wrong comparator led to wrong scrolling behaviour. Fixes #341, resolves #342
|
2019-10-18 13:56:45 +02:00 |
Oliver
|
c35e6b2b4c
|
Avoiding infinite loop on narrow TextViews. Fixes #333
|
2019-10-17 12:07:41 +02:00 |
Oliver
|
fc28d646d0
|
Primitive widths/heights should not become negative. Also fixed a
TextView issue where purging led to panics. Fixes #306
|
2019-07-09 14:04:41 +01:00 |
Oliver
|
3c477cc248
|
TextView.ScrollTo() will turn off end-tracking. Fixes #274
|
2019-05-14 17:07:36 +02:00 |
Oliver
|
8d5eba0c2f
|
Replaced runewidth.StringWidth() with my own implementation. Fixes #236
|
2019-03-19 12:13:40 +01:00 |