- Migrated DOM off A3, onto A3t.  First live use of new parser.
This commit is contained in:
Paul Beckingham 2014-04-24 11:48:43 -04:00
parent d99f40eaad
commit 0dc73d759b
3 changed files with 17 additions and 7 deletions

View file

@ -249,6 +249,7 @@ int longestLine (const std::string& input)
return longest;
}
////////////////////////////////////////////////////////////////////////////////
// Walk the input text looking for a break point. A break point is one of:
// - EOS
// - \n
@ -256,7 +257,7 @@ int longestLine (const std::string& input)
// - last punctuation (, ; . :) before 'length' characters, even if not
// followed by a space
// - first 'length' characters
//
// text "one two three\n four"
// bytes 0123456789012 3456789
// characters 1234567890a23 4567890