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

Method RemoveHandle

scintilla/src/PerLine.cxx:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void MarkerHandleSet::RemoveHandle(int handle) {
79 MarkerHandleNumber **pmhn = &root;
80 while (*pmhn) {
81 MarkerHandleNumber *mhn = *pmhn;
82 if (mhn->handle == handle) {
83 *pmhn = mhn->next;
84 delete mhn;
85 return;
86 }
87 pmhn = &((*pmhn)->next);
88 }
89}
90
91bool MarkerHandleSet::RemoveNumber(int markerNum, bool all) {
92 bool performedDeletion = false;

Callers 1

DeleteMarkFromHandleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected