| 934 | } |
| 935 | |
| 936 | void RichTextarea::ClearAreaText(HWND wnd) |
| 937 | { |
| 938 | TextareaData *data = GetData(wnd); |
| 939 | |
| 940 | data->firstLine->length = 0; |
| 941 | data->lineCount = 1; |
| 942 | data->longestLine = 0; |
| 943 | data->currLine = data->firstLine; |
| 944 | while(data->currLine->next) |
| 945 | DeleteLine(data->currLine->next); |
| 946 | data->currLine = data->firstLine; |
| 947 | data->firstLine->next = NULL; |
| 948 | } |
| 949 | |
| 950 | // Function that returns text with line ending in linear buffer |
| 951 | const char* RichTextarea::GetAreaText(HWND wnd) |
nothing calls this directly
no test coverage detected