TW-1778: Unicode strings are truncated in task description
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
-- a/src/text.cpp
++ b/src/text.cpp
// Premature EOL.
if (character == '\n')
{
line = text.substr (offset, line_length);
line = text.substr (offset, prior_cursor - offset);
offset = cursor;
return true;
}