mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- Relocated the Table::getCharLength() from Johannes to text.cpp/characters() because it is a general-purpose function, and will be the start of the UTF8 conversion of all text.cpp code. - Added unit tests for characters().
This commit is contained in:
parent
6e1aa42d1a
commit
2f1c582d7d
5 changed files with 35 additions and 28 deletions
|
@ -100,7 +100,6 @@ private:
|
|||
void calculateColumnWidths ();
|
||||
just getJustification (const int, const int);
|
||||
just getHeaderJustification (const int);
|
||||
int getCharLength (const std::string&);
|
||||
const std::string formatHeader (const int, const int, const int);
|
||||
const std::string formatHeaderDashedUnderline (const int, const int, const int);
|
||||
void formatCell (const int, const int, const int, const int, const int, std::vector <std::string>&, std::string&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue