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

Function OnDestroy

GUI/RichTextarea.cpp:705–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703 }
704
705 void OnDestroy(HWND wnd)
706 {
707 TextareaData *data = GetData(wnd);
708
709 ClearAreaText(wnd);
710 DeleteLine(data->firstLine);
711 data->history->ResetHistory();
712
713 delete[] data->areaText;
714 delete[] data->areaTextEx;
715 delete data->history;
716 data->areaText = NULL;
717 data->areaTextEx = NULL;
718 data->history = NULL;
719
720 delete data;
721 }
722}
723
724bool RichTextarea::LineIterator::GoForward()

Callers 1

TextareaProcMethod · 0.70

Calls 3

DeleteLineFunction · 0.85
ResetHistoryMethod · 0.80
GetDataFunction · 0.70

Tested by

no test coverage detected