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

Method editDone

texteditor/buffer.go:217–221  ·  view source on GitHub ↗

editDone finalizes any current editing, sends signal

()

Source from the content-addressed store, hash-verified

215
216// editDone finalizes any current editing, sends signal
217func (tb *Buffer) editDone() {
218 tb.AutoSaveDelete()
219 tb.SetChanged(false)
220 tb.signalEditors(bufferDone, nil)
221}
222
223// Text returns the current text as a []byte array, applying all current
224// changes by calling editDone, which will generate a signal if there have been

Callers 3

TextMethod · 0.95
SaveAsFuncMethod · 0.95
SaveMethod · 0.95

Calls 3

AutoSaveDeleteMethod · 0.95
signalEditorsMethod · 0.95
SetChangedMethod · 0.80

Tested by

no test coverage detected