MCPcopy Create free account
hub / github.com/WheretIB/nullc / DeleteLine

Function DeleteLine

GUI/RichTextarea.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void DeleteLine(AreaLine *dead)
115{
116 if(dead->prev)
117 dead->prev->next = dead->next;
118 if(dead->next)
119 dead->next->prev = dead->prev;
120 if(dead->data != dead->startBuf)
121 delete[] dead->data;
122 delete dead;
123}
124
125// Get shift after symbol ch in characters from current position to the next
126int GetCharShift(char ch, int currPos)

Callers 6

HistoryStepMethod · 0.85
~SnapshotMethod · 0.85
OnDestroyFunction · 0.85
ClearAreaTextMethod · 0.85
DeleteSelectionMethod · 0.85
DeletePreviousCharMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected