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

Method renderLayout

texteditor/render.go:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (ed *Editor) renderLayout() {
33 chg := ed.ManageOverflow(3, true)
34 ed.layoutAllLines()
35 ed.ConfigScrolls()
36 if chg {
37 ed.Frame.NeedsLayout() // required to actually update scrollbar vs not
38 }
39}
40
41func (ed *Editor) RenderWidget() {
42 if ed.PushBounds() {

Callers 2

RenderWidgetMethod · 0.95
AutoScrollEditorsMethod · 0.80

Calls 4

layoutAllLinesMethod · 0.95
ConfigScrollsMethod · 0.80
ManageOverflowMethod · 0.65
NeedsLayoutMethod · 0.45

Tested by

no test coverage detected