| 2058 | } |
| 2059 | |
| 2060 | bool CreateOrAppendTextContainer(STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length = -1) override |
| 2061 | { |
| 2062 | if(TextContainerIndex.Valid()) |
| 2063 | { |
| 2064 | AppendTextContainer(TextContainerIndex, pCursor, pText, Length); |
| 2065 | return true; |
| 2066 | } |
| 2067 | else |
| 2068 | { |
| 2069 | return CreateTextContainer(TextContainerIndex, pCursor, pText, Length); |
| 2070 | } |
| 2071 | } |
| 2072 | |
| 2073 | // just deletes and creates text container |
| 2074 | void RecreateTextContainer(STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length = -1) override |
no test coverage detected