text,widget: remove dead code and fields

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-11-27 15:45:03 -06:00
parent 20c28ef282
commit 5fcfc40ab8
6 changed files with 1 additions and 23 deletions
-3
View File
@@ -11,9 +11,6 @@ import (
// editBuffer implements a gap buffer for text editing.
type editBuffer struct {
// pos is the byte position for Read and ReadRune.
pos int
// The gap start and end in bytes.
gapstart, gapend int
text []byte