| 287 | } |
| 288 | |
| 289 | void TextIterator::clearNewLine(UString& _text) |
| 290 | { |
| 291 | for (UString::iterator iter = _text.begin(); iter != _text.end(); iter.moveNext()) |
| 292 | { |
| 293 | auto character = iter.getCharacter(); |
| 294 | if (character == FontCodeType::NEL || character == FontCodeType::CR || character == FontCodeType::LF) |
| 295 | { |
| 296 | (*iter) = FontCodeType::Space; |
| 297 | } |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | bool TextIterator::saveStartPoint() |
| 302 | { |
nothing calls this directly
no test coverage detected