MCPcopy Create free account
hub / github.com/andlabs/ui / Delete

Method Delete

drawtext.go:402–404  ·  view source on GitHub ↗

Delete deletes the characters and attributes of s in the byte range [start, end).

(start, end int)

Source from the content-addressed store, hash-verified

400// Delete deletes the characters and attributes of s in the byte range
401// [start, end).
402func (s *AttributedString) Delete(start, end int) {
403 C.uiAttributedStringDelete(s.s, C.size_t(start), C.size_t(end))
404}
405
406// SetAttribute sets a in the byte range [start, end) of s. Any existing
407// attributes in that byte range of the same type are removed.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected