forked from joejulian/gio
b28307baeb
This commit ensures that the edit buffer used by widget.Editor does not get EOF when trying to read zero bytes from the underlying buffer, which eliminates a panic when calling Editor.SelectedText(). Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>