KiCad PCB EDA Suite
Loading...
Searching...
No Matches
text_diff.cpp File Reference
#include <git/text_diff.h>
#include <algorithm>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  KIGIT
 

Functions

std::vector< wxString > KIGIT::SplitTextLines (const std::string &aContent)
 Tolerates CRLF endings and content that is not valid UTF-8.
 
bool KIGIT::TextLooksBinary (const std::string &aContent)
 
std::vector< TEXT_DIFF_LINE > KIGIT::BuildTextDiff (const std::vector< wxString > &aOld, const std::vector< wxString > &aNew)
 Every line of both sides appears once. There are no hunks and nothing is elided.