mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Pig: Added ::dump details
This commit is contained in:
parent
c94fc0b70d
commit
d1fbda2c11
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@ void Pig::debug (bool value)
|
|||
std::string Pig::dump () const
|
||||
{
|
||||
std::stringstream out;
|
||||
out << "≪" << _text << "≫"
|
||||
<< " l" << _text.length ()
|
||||
<< " m" << _mark
|
||||
<< " c" << _cursor;
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue