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

Method SetLineEndTypesAllowed

scintilla/src/Document.cxx:164–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool Document::SetLineEndTypesAllowed(int lineEndBitSet_) {
165 if (lineEndBitSet != lineEndBitSet_) {
166 lineEndBitSet = lineEndBitSet_;
167 int lineEndBitSetActive = lineEndBitSet & LineEndTypesSupported();
168 if (lineEndBitSetActive != cb.GetLineEndTypes()) {
169 ModifiedAt(0);
170 cb.SetLineEndTypes(lineEndBitSetActive);
171 return true;
172 } else {
173 return false;
174 }
175 } else {
176 return false;
177 }
178}
179
180void Document::InsertLine(int line) {
181 for (int j=0; j<ldSize; j++) {

Callers 1

WndProcMethod · 0.80

Calls 2

GetLineEndTypesMethod · 0.80
SetLineEndTypesMethod · 0.80

Tested by

no test coverage detected