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
-4
View File
@@ -347,10 +347,6 @@ type Region struct {
Baseline int
}
// region is identical to Region except that its coordinates are in document
// space instead of a widget coordinate space.
type region = Region
// locate returns highlight regions covering the glyphs that represent the runes in
// [startRune,endRune). If the rects parameter is non-nil, locate will use it to
// return results instead of allocating, provided that there is enough capacity.