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

Method Document

scintilla/src/Document.cxx:82–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82Document::Document() {
83 refCount = 0;
84 pcf = NULL;
85#ifdef _WIN32
86 eolMode = SC_EOL_CRLF;
87#else
88 eolMode = SC_EOL_LF;
89#endif
90 dbcsCodePage = 0;
91 lineEndBitSet = SC_LINE_END_TYPE_DEFAULT;
92 stylingBits = 5;
93 stylingBitsMask = 0x1F;
94 stylingMask = 0;
95 endStyled = 0;
96 styleClock = 0;
97 enteredModification = 0;
98 enteredStyling = 0;
99 enteredReadOnlyCount = 0;
100 tabInChars = 8;
101 indentInChars = 0;
102 actualIndentInChars = 8;
103 useTabs = true;
104 tabIndents = true;
105 backspaceUnindents = false;
106
107 matchesValid = false;
108 regex = 0;
109
110 UTF8BytesOfLeadInitialise();
111
112 perLineData[ldMarkers] = new LineMarkers();
113 perLineData[ldLevels] = new LineLevels();
114 perLineData[ldState] = new LineState();
115 perLineData[ldMargin] = new LineAnnotation();
116 perLineData[ldAnnotation] = new LineAnnotation();
117
118 cb.SetPerLine(this);
119
120 pli = 0;
121}
122
123Document::~Document() {
124 for (std::vector<WatcherWithUserData>::iterator it = watchers.begin(); it != watchers.end(); ++it) {

Callers

nothing calls this directly

Calls 2

SetPerLineMethod · 0.80

Tested by

no test coverage detected