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

Method Delete

scintilla/src/SplitVector.h:209–215  ·  view source on GitHub ↗

Delete one element from the buffer.

Source from the content-addressed store, hash-verified

207
208 /// Delete one element from the buffer.
209 void Delete(int position) {
210 PLATFORM_ASSERT((position >= 0) && (position < lengthBody));
211 if ((position < 0) || (position >= lengthBody)) {
212 return;
213 }
214 DeleteRange(position, 1);
215 }
216
217 /// Delete a range from the buffer.
218 /// Deleting positions outside the current range fails.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected