MCPcopy Index your code
hub / github.com/andlabs/ui / AppendUnattributed

Method AppendUnattributed

drawtext.go:385–389  ·  view source on GitHub ↗

AppendUnattributed adds str to the end of s. The new substring will be unattributed.

(str string)

Source from the content-addressed store, hash-verified

383// AppendUnattributed adds str to the end of s. The new substring
384// will be unattributed.
385func (s *AttributedString) AppendUnattributed(str string) {
386 cs := C.CString(str)
387 defer freestr(cs)
388 C.uiAttributedStringAppendUnattributed(s.s, cs)
389}
390
391// InsertAtUnattributed adds str to s at the byte position specified by
392// at. The new substring will be unattributed; existing attributes will

Callers 2

appendWithAttributesFunction · 0.80
makeAttributedStringFunction · 0.80

Calls 1

freestrFunction · 0.85

Tested by

no test coverage detected