mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 01:27:20 +02:00
Enhancement - strippedLength
- Added a text method that calculates a string length but does not include color control codes.
This commit is contained in:
parent
ce99cbf2d4
commit
844c980bce
3 changed files with 37 additions and 1 deletions
|
@ -57,6 +57,7 @@ bool isWordEnd (const std::string&, std::string::size_type);
|
|||
bool compare (const std::string&, const std::string&, bool sensitive = true);
|
||||
std::string::size_type find (const std::string&, const std::string&, bool sensitive = true);
|
||||
std::string::size_type find (const std::string&, const std::string&, std::string::size_type, bool sensitive = true);
|
||||
int strippedLength (const std::string&);
|
||||
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue