#include <diff_match_patch.h>
Public Member Functions | |
Patch () | |
bool | isNull () const |
QString | toString () |
Public Attributes | |
QList< Diff > | diffs |
int | start1 |
int | start2 |
int | length1 |
int | length2 |
Class representing one patch operation.
Patch::Patch | ( | ) |
Constructor. Initializes with an empty list of diffs.
QString Patch::toString | ( | ) |
Emmulate GNU diff's format. Header: @ -382,8 +481,9 @ Indicies are printed as 1-based, not 0-based.