Jakub Sobon
5dd1aff803
Advancing to Go1.10.
...
- switching to math.Round and deleting out clone.
- switching all bytes.Buffer instances to strings.Builder.
2019-04-18 22:55:05 -04:00
Jakub Sobon
c43e453038
Text validation moved to the wrap package.
2019-03-02 17:46:03 -05:00
Jakub Sobon
f102632bd4
Implementing AtWords wrapping mode.
2019-03-02 16:44:54 -05:00
Jakub Sobon
87cab66617
Simplifying the text widget.
...
This results in a better line wrapping abstraction which now works on
cells. Cells contain both the rune and the cell options which were
awkward to track separately.
2019-02-28 00:50:16 -05:00
Jakub Sobon
61aca3fb62
Removing Text's dependency on wrap.Needed.
...
It was rune based and thus incompatible with word wrapping.
2019-02-25 00:33:27 -05:00
Jakub Sobon
54c5dff63e
Factoring the line wrapping logic out of the text widget.
...
It will be needed for the Table too.
2019-02-24 23:10:52 -05:00