103 Commits (master)

Author SHA1 Message Date
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
Oliver 83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 6 years ago
Oliver 761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 6 years ago
Oliver 91a6ff44b6 Finished implementation of grid layout. 6 years ago
Oliver 4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 7 years ago
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 7 years ago
Oliver 13cf1c1ee4 Added a way to output tags as cleartext in TextView even if dynamic colors or regions are enabled. 7 years ago
Oliver 626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 7 years ago
Oliver 8bc6a3f684 Minor additions to pull request #30. Resolves #28. 7 years ago
rivo f26cdc84a2
Merge pull request #30 from maja42/TextViewScrolling
Thanks. I will make some modifications to this. You might want to check them out.
7 years ago
Jakob Maier 3442b13a04 Added ScrollToBeginning() and ScrollToEnd() to TextView 7 years ago
Oliver 1e78c506cb Rewrote TextView's reindex() and Draw() to introduce text alignment and
word wrapping
7 years ago
Oliver 0c4fd605ae Fixed wrong TextView handling of tabs (and other runes without a width). 7 years ago
Oliver d74b71b48d Supporting any color now in TextView. Resolves #12 7 years ago
Oliver 5f33d0cbc0 Some adaptations for 32-bit systems. Resolves #17 7 years ago
Oliver 61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 7 years ago
rivo fee6bd1ef9
Merge pull request #3 from ss18/typo
scollable -> scrollable, thanks!
7 years ago
Oliver 2874294d89 Added Styles variable with default colors for primitives. 7 years ago
Semen Zhydenko 21a909f91c scollable -> scrollable 7 years ago
Oliver e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 7 years ago
Oliver 7a69902269 Non-scrollable text views must track end. 7 years ago
Oliver 42fa258a5e Added more colors to the text view. 7 years ago
Oliver aa93dab30d Clamping column offset in text view. 7 years ago
Oliver 3670319cd6 Fixed a number of bugs and added missing useful functions. 7 years ago
Oliver 8f59d491ee Added Table primitive. Still ironing out some minor issues. 7 years ago
Oliver f5788cfc52 Added regions and highlights to TextView. 7 years ago
Oliver 8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 7 years ago