Jakub Sobon
367af3f86d
Merge branch 'text-widget/5/widget' into text-widget/6/wide-runes
2018-05-27 16:21:14 +01:00
Jakub Sobon
39c624a84c
Making it more obvious what width in the test cases is.
...
- renaming it to cvsWidth.
- adding a comment explaining that it is the width of the canvas.
2018-05-27 15:49:13 +01:00
Jakub Sobon
929bf2b8fc
The text widget now supports full-width runes.
...
Refactoring the draw() implementation to make it more readable:
- taking out the line trimming logic.
- taking out the drawing of the scroll up/down markers.
2018-05-20 22:51:38 +01:00
Jakub Sobon
2f210f3ab9
Adding licence.
2018-05-14 22:44:18 +01:00
Jakub Sobon
7d14d2219f
Adding line scanner.
...
The line scanner identifies and counts lines in the input text and
performs wrapping if required.
2018-05-14 22:12:08 +01:00