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

Method updateToolbar

texteditor/diffeditor.go:183–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183func (dv *DiffEditor) updateToolbar() {
184 tb := dv.Scene.GetTopAppBar()
185 if tb == nil {
186 return
187 }
188 tb.Restyle()
189}
190
191// setFilenames sets the filenames and updates markup accordingly.
192// Called in DiffStrings

Callers 3

saveFileAMethod · 0.95
saveFileBMethod · 0.95
applyDiffMethod · 0.95

Calls 2

RestyleMethod · 0.80
GetTopAppBarMethod · 0.45

Tested by

no test coverage detected