lokalize
diff.cpp File Reference
#include "diff.h"
#include "prefs_lokalize.h"
#include <QVector>
#include <QStringList>
#include <QStringMatcher>
#include <QStringBuilder>
#include <QLinkedList>
#include <kdebug.h>
Include dependency graph for diff.cpp:
Go to the source code of this file.
Enumerations | |
enum | LCSMarker { NOTHING = 0, ARROW_UP = 1, ARROW_LEFT = 2, ARROW_UP_LEFT = 3, FINAL = 4 } |
Functions | |
QStringList | calcLCS (const QStringList &s1Words, const QStringList &s2Words, const QStringList &s1Space, const QStringList &s2Space) |
static QStringList | prepareForInternalDiff (const QString &str) |
static void | prepareLists (QString str, QStringList &main, QStringList &space, const QString &accel, QString markup) |
QString | userVisibleWordDiff (const QString &str1ForMatching, const QString &str2ForMatching, const QString &accel, const QString &markup, int options) |
QString | wordDiff (QStringList s1, QStringList s2) |
Variables | |
static QString | addMarkerEnd ="</KBABELADD>" |
static QString | addMarkerStart ="<KBABELADD>" |
static QString | delMarkerEnd ="</KBABELDEL>" |
static QString | delMarkerStart ="<KBABELDEL>" |
Enumeration Type Documentation
enum LCSMarker |
Function Documentation
QStringList calcLCS | ( | const QStringList & | s1Words, |
const QStringList & | s2Words, | ||
const QStringList & | s1Space, | ||
const QStringList & | s2Space | ||
) |
|
static |
|
static |
QString wordDiff | ( | QStringList | s1, |
QStringList | s2 | ||
) |
Variable Documentation
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.