MCPcopy Create free account
hub / github.com/cogentcore/core / String

Method String

texteditor/buffer.go:234–236  ·  view source on GitHub ↗

String returns the current text as a string, applying all current changes by calling editDone, which will generate a signal if there have been changes.

()

Source from the content-addressed store, hash-verified

232// changes by calling editDone, which will generate a signal if there have been
233// changes.
234func (tb *Buffer) String() string {
235 return string(tb.Text())
236}
237
238// signalMods sends the BufMods signal for misc, potentially
239// widespread modifications to buffer.

Callers 15

RunBuiltinOrCommandMethod · 0.95
SVGStringMethod · 0.95
scanBareMethod · 0.95
scanBracedMethod · 0.95
scanQuotedMethod · 0.95
StringMethod · 0.95
RawStringMethod · 0.95
StringMethod · 0.95
RawStringMethod · 0.95
PrettyStringMethod · 0.95
runMethod · 0.95
GetHomeDirMethod · 0.95

Calls 1

TextMethod · 0.95

Tested by 6

TestAndroidBuildFunction · 0.76
compareUint32sFunction · 0.76
TestGetOptCodesFunction · 0.76
TestGroupedOpCodesFunction · 0.76
TestGetOptCodesFunction · 0.76
TestGroupedOpCodesFunction · 0.76