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
|
ac1f564949
|
Implemented basic text area printing.
|
2022-07-30 15:59:31 +01:00 |
|
Oliver
|
6537221da8
|
Merge conflict resolved.
|
2022-07-29 16:43:17 +01:00 |
|
Oliver
|
c6cff75ed5
|
Adapted to slight change in rivo/uniseg.
|
2022-07-28 10:46:20 +01:00 |
|
Oliver
|
4b7fb7ecd6
|
Upgraded to new rivo/uniseg version.
|
2022-07-27 20:09:10 +01:00 |
|
Oliver
|
566470eb7a
|
Some basic TextArea code.
|
2022-07-27 12:48:38 +01:00 |
|
Oliver
|
1560f6b730
|
Added a note about TextView not being suitable for large texts.
|
2022-02-15 18:52:21 +01:00 |
|
Oliver
|
5962c4c9a7
|
Added TextView.GetOriginalLineCount().
|
2022-02-15 15:59:26 +01:00 |
|
Oliver
|
1b3174ee3d
|
Added callback functions for focus and blur events.
|
2021-11-08 17:05:49 +01:00 |
|
Sam Whited
|
d0d3379128
|
Fix deadlock in SetText
Signed-off-by: Sam Whited <sam@samwhited.com>
|
2021-10-29 07:27:24 -04:00 |
|
Oliver
|
792841ab16
|
Very minor change.
|
2021-10-29 10:45:20 +02:00 |
|
Oliver
|
21d44f5cd1
|
Some cosmetic cleanup regarding the last merge.
|
2021-10-29 10:38:51 +02:00 |
|
Sam Whited
|
c0678d7aa9
|
Fix race condition with locking in SetText
Signed-off-by: Sam Whited <sam@samwhited.com>
|
2021-10-25 07:37:04 -04:00 |
|
Sam Whited
|
4385df9931
|
Add batch writer for TextView's
|
2021-10-25 07:26:09 -04:00 |
|
Oliver
|
ba9f3a6fa1
|
Fixed missed tag at EOL in TextView. Fixes #531
|
2021-04-27 09:08:36 +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
|
c3311ba972
|
Fixed format for reinserted region tag.
|
2021-02-16 22:07:47 +01:00 |
|
Oliver
|
09f1384966
|
Added SetMaxLines() to TextView. Resolves #451, fixes #452
|
2021-02-16 20:32:36 +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
|
42866ecf6c
|
Selected autocomplete items should be used without colour tags. Fixes #472
|
2020-09-15 13:45:12 +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 |
|
Oliver
|
c65badfc3d
|
TextView.GetText() and .GetRegionText() didn't filter out empty colour tags. Fixes #453
|
2020-07-12 13:34:19 +02:00 |
|
Oliver
|
8aa2912f24
|
Bugfixes in ANSI escape sequence handling as well as TextView, fixes #320, fixes #344
|
2020-05-27 21:41:21 +02:00 |
|
Oliver
|
ca37f83cb2
|
TextView changed function is always called in a separate goroutine to avoid deadlocks. Fixes #416
|
2020-04-04 22:46:04 +02:00 |
|
Oliver
|
f395cf6e33
|
Added mouse scrolling to List, Table, TextView, and TreeView.
|
2020-03-29 21:36:06 +02:00 |
|
Oliver
|
b3dc389cb4
|
Added mouse support to presentation demo. TextView "highlighted" callback also receives remaining highlights.
|
2020-03-29 21:03:36 +02:00 |
|
Oliver
|
2505a942a1
|
Added mouse selection of regions in TextViews.
|
2020-03-29 20:20:05 +02: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
|
5bbae91e1e
|
Fixed off-by-one error in TextView which led to line-trailing tags be moved to the next line. Fixes #336
|
2020-01-07 20:56:27 +01: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 |
|
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
|
380278f41c
|
Bugfix in TextView.
|
2018-10-29 11:12:40 +01:00 |
|
Oliver
|
c22d5570be
|
Bugfixes/improvements to PR #172.
|
2018-10-28 13:42:49 +01:00 |
|
Oliver
|
4a4db5c136
|
TextView also uses iterator function now.
|
2018-10-17 18:24:18 +02:00 |
|
Oliver
|
bc39bf8d24
|
Bugfixes related to zero-width joiners.
|
2018-09-26 12:03:53 +02:00 |
|
Oliver
|
29458dad3e
|
Added support for zero-width joiners. Resolves #161
|
2018-09-25 17:31:49 +02:00 |
|
Oliver
|
6614b16d90
|
Added GetScrollOffset() to TextView. Resolves #124
|
2018-07-28 21:30:50 +02:00 |
|
Oliver
|
4631cd7337
|
Added the tree view.
|
2018-06-20 10:06:05 +02:00 |
|
Oliver
|
6ffb56ee2a
|
TextView now reindexes only on width changes if wrapping is enabled.
|
2018-06-09 22:35:48 +02:00 |
|