Commit Graph

5 Commits

Author SHA1 Message Date
Jakub Sobon 7ee222ac58
Moving private libraries into internal subdirectory. 2019-02-23 21:09:38 -05:00
Jakub Sobon 38a2a36234
Adding Text Write option that atomically replaces the text content. 2019-02-15 00:40:15 -05:00
Jakub Sobon 38aae8e556
Switching text to attrrange. 2019-02-04 21:41:04 -05:00
Jakub Sobon a3dfd1a4a5
Adding licence. 2018-05-14 22:43:48 +01:00
Jakub Sobon e786777410
Defining options for text written to the widget.
Each set of options applies to a range of characters equal to the length
of the text added.

E.g. on write calls like:
Write("text", opts1)
Write("long text", opts2)

The two passed options will be stored as:
opts1 for byte range low:0, high:4
opts2 for byte range low:4, high:13

The text itself will be stored in a bytes.Buffer.
2018-05-14 22:08:53 +01:00