MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / EnsureData

Method EnsureData

scintilla/src/ContractionState.cxx:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void ContractionState::EnsureData() {
32 if (OneToOne()) {
33 visible = new RunStyles();
34 expanded = new RunStyles();
35 heights = new RunStyles();
36 displayLines = new Partitioning(4);
37 InsertLines(0, linesInDocument);
38 }
39}
40
41void ContractionState::Clear() {
42 delete visible;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected