Text class mostly working

- tabs not yet working
This commit is contained in:
Phil Nash
2013-04-19 19:08:32 +01:00
parent 052dc18c76
commit 7059c6e1c3
6 changed files with 197 additions and 79 deletions

View File

@@ -48,7 +48,7 @@ namespace Catch {
return wrappableChars.find( c ) != std::string::npos;
}
void LineWrapper::wrapInternal( std::string const& _str ) {
assert( ++recursionCount < 100 );
assert( ++recursionCount < 1000 );
std::size_t width = right - getCurrentIndent();
std::size_t wrapPoint = width-tab;