DevHegemony
9d79348686
fixing #959 textview mouse out of bounds fix
2 months ago
Oliver
9c17885289
No mouse scrolling when scrolling is turned off.
3 months ago
Oliver
e4a85fc779
Mouse scrolling to the end turns tracking on. Resolves #945
3 months ago
Oliver
d179351a0a
Fixed panic when Highlight is called before the first call to Draw.
4 months ago
Oliver
7568c3f71c
Fixed disappearing highlights. Fixes #941
4 months ago
Oliver
742cf08619
Handled a case where there could be highglights for non-existing regions.
4 months ago
Oliver
d3aebefdd2
Ignoring unknown regions when highlighting. Fixes #939
4 months ago
Oliver
9360b0f727
Fixed the text view's maximum line offset. Fixes #907
7 months ago
Kian-Meng Ang
5d85e6a030
Fix typos
...
Found via `codespell -H -S .git -L rightt,wth,bu`
7 months ago
Oliver
d7e1e3802f
Checking line index before attempting purge. Fixes #891
8 months ago
Oliver
15a8a86787
Default is word-wrapping.
9 months ago
Oliver
e3c3ad5029
Handling trailing newline characters directly in step parser. Fixes #882
9 months ago
Oliver
7344139b55
Finished new parser implementation.
9 months ago
Oliver
caea67a4ef
Implemented string parser and migrated all widgets but TextView.
9 months ago
Oliver
47b3275db4
Form elements can now also be disabled. Resolves #192
1 year ago
Oliver
19d943d595
Some clarifications.
1 year ago
Oliver
55d1ca9d33
Added own implementation of SetBackgroundColor() to TextView, to keep backwards compatibility. Fixes #777
1 year ago
Oliver
e6cd7110ac
Spelling and wording.
1 year ago
Oliver
3f246bda86
Text views can also become part of forms.
1 year ago
Oliver
55965cf21d
Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display.
2 years ago
rivo
941f8605ec
Merge pull request #753 from sruehl/fix/textview_color_panic
...
fix: fixed GetRegionText when colors are active, fixes #751
2 years ago
Sebastian Rühl
ac98385e86
fix: fixed GetRegionText when colors are active
...
When skipping color tags the currentTag is getting incremented and directly after that a index access with that happens. This always crashes on the last tag.
2 years ago
Oliver
cecb44578c
Setting focus is now based on a "mouse down" event instead of a "click" event.
2 years ago
Oliver
ac1f564949
Implemented basic text area printing.
2 years ago
Oliver
6537221da8
Merge conflict resolved.
2 years ago
Oliver
c6cff75ed5
Adapted to slight change in rivo/uniseg.
2 years ago
Oliver
4b7fb7ecd6
Upgraded to new rivo/uniseg version.
2 years ago
Oliver
566470eb7a
Some basic TextArea code.
2 years ago
Oliver
1560f6b730
Added a note about TextView not being suitable for large texts.
2 years ago
Oliver
5962c4c9a7
Added TextView.GetOriginalLineCount().
2 years ago
Oliver
1b3174ee3d
Added callback functions for focus and blur events.
3 years ago
Sam Whited
d0d3379128
Fix deadlock in SetText
...
Signed-off-by: Sam Whited <sam@samwhited.com>
3 years ago
Oliver
792841ab16
Very minor change.
3 years ago
Oliver
21d44f5cd1
Some cosmetic cleanup regarding the last merge.
3 years ago
Sam Whited
c0678d7aa9
Fix race condition with locking in SetText
...
Signed-off-by: Sam Whited <sam@samwhited.com>
3 years ago
Sam Whited
4385df9931
Add batch writer for TextView's
3 years ago
Oliver
ba9f3a6fa1
Fixed missed tag at EOL in TextView. Fixes #531
3 years ago
Oliver
ae9464cc35
Upgraded printing and style handling to the new definition of tcell.ColorDefault.
3 years ago
Oliver
c3311ba972
Fixed format for reinserted region tag.
3 years ago
Oliver
09f1384966
Added SetMaxLines() to TextView. Resolves #451 , fixes #452
3 years ago
Oliver
675ed5b96b
Removed Focusable interface.
4 years ago
Oliver
e4d167311d
Upgraded to latest tcell version. Results in a minor incompatibility in the Table class.
4 years ago
Oliver
42866ecf6c
Selected autocomplete items should be used without colour tags. Fixes #472
4 years ago
Oliver
9b49eb3fef
Added a "clicked" handler to TableCell. Resolves #470
4 years ago
Oliver
deb54e1422
Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421
4 years ago
Oliver
c65badfc3d
TextView.GetText() and .GetRegionText() didn't filter out empty colour tags. Fixes #453
4 years ago
Oliver
8aa2912f24
Bugfixes in ANSI escape sequence handling as well as TextView, fixes #320 , fixes #344
4 years ago
Oliver
ca37f83cb2
TextView changed function is always called in a separate goroutine to avoid deadlocks. Fixes #416
4 years ago
Oliver
f395cf6e33
Added mouse scrolling to List, Table, TextView, and TreeView.
4 years ago
Oliver
b3dc389cb4
Added mouse support to presentation demo. TextView "highlighted" callback also receives remaining highlights.
4 years ago