Commit Graph

76 Commits (4b7fb7ecd65b489ddc9c218deb851daa350d991f)

Author SHA1 Message Date
Oliver 4b7fb7ecd6 Upgraded to new rivo/uniseg version. 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
Oliver 2505a942a1 Added mouse selection of regions in TextViews. 4 years ago
Oliver ba670d23ba The inner area of a Box does not clamp to screen borders anymore. Consequently added some drawing optimization to primitives. Resolves #405 4 years ago
Oliver 5bbae91e1e Fixed off-by-one error in TextView which led to line-trailing tags be moved to the next line. Fixes #336 5 years ago
Oliver 0f6549646b Added SetFocus() to Modal, focuses on the provided button. Resolves #364 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 fc28d646d0 Primitive widths/heights should not become negative. Also fixed a
TextView issue where purging led to panics. Fixes #306
5 years ago
Oliver 3c477cc248 TextView.ScrollTo() will turn off end-tracking. Fixes #274 5 years ago
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 5 years ago
rivo b373355e9d
Merge pull request #235 from Bios-Marcel/prevent-regex-recompilation
Prevent recompilation of regexes
5 years ago
Marcel Schramm f3b5afb8cd
Move TabSize comment in texview.go back to where it belongs. 5 years ago
Oliver 3e289f3aca Added TextView.GetText(). Resolves #233 5 years ago
Marcel Schramm f4690e43a0
Prevent recompilation of regexes 5 years ago
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 5 years ago
Oliver 380278f41c Bugfix in TextView. 6 years ago
Oliver c22d5570be Bugfixes/improvements to PR #172. 6 years ago
Oliver 4a4db5c136 TextView also uses iterator function now. 6 years ago
Oliver bc39bf8d24 Bugfixes related to zero-width joiners. 6 years ago
Oliver 29458dad3e Added support for zero-width joiners. Resolves #161 6 years ago
Oliver 6614b16d90 Added GetScrollOffset() to TextView. Resolves #124 6 years ago
Oliver 4631cd7337 Added the tree view. 6 years ago
Oliver 6ffb56ee2a TextView now reindexes only on width changes if wrapping is enabled. 6 years ago
Oliver 0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 6 years ago
Oliver 71ecf1f429 Added a scroll function to TextView. Resolves #124 6 years ago
Oliver 213c37c368 Fixed handling of combining unicode characters. Fixes #101 6 years ago
Oliver 911fb9543e Added Escape(), ANSIIWriter(), and TranslateANSII(). Resolves #84, resolves #24 6 years ago
Oliver b4fd66d458 Fixed style calculation in TextView which led to unwanted artefacts when the default terminal background color was not black. Fixes #91 6 years ago