elvish/pkg/ui
Qi Xiao 9f7312a802 pkg/ui: Improve API for Text.
- Add a TextBuilder for building a Text efficiently.

- Remove NormalizeText, and make functionsn this package always return already
  normal Text instances.

- Rename Style.{Foreground Background} to Fg and Bg.

- Fix the Repr output of both Text and Segment.
2023-01-02 01:00:26 +00:00
..
color_test.go pkg/ui: Make styled text context-insensitive, and remove the "default" color. 2022-07-24 14:31:02 +01:00
color.go pkg/ui: Make styled text context-insensitive, and remove the "default" color. 2022-07-24 14:31:02 +01:00
key_test.go Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
key.go Remove use of "e.g.," and "i.e.,". 2022-11-20 15:44:29 +00:00
mark_lines_test.go Don't dot import pkg/tt 2022-06-04 23:39:19 +01:00
mark_lines.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
parse_sgr_test.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
parse_sgr.go pkg/ui: Make styled text context-insensitive, and remove the "default" color. 2022-07-24 14:31:02 +01:00
style_regions_test.go Don't dot import pkg/ui 2022-06-04 23:39:19 +01:00
style_regions.go pkg/ui: Add utility for styling multiple regions in a text. 2021-02-27 23:05:42 +00:00
style_test.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
style.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
styling_test.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
styling.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
text_builder.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
text_segment_test.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
text_segment.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
text_test.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
text.go pkg/ui: Improve API for Text. 2023-01-02 01:00:26 +00:00
ui.go Move all libraries to new pkg/. 2019-12-23 20:00:59 +00:00