MCPcopy Create free account
hub / github.com/KDE/kate / DiffSyntaxHighlighter

Method DiffSyntaxHighlighter

apps/lib/diff/diffeditor.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <KTextEditor/Editor>
20
21DiffSyntaxHighlighter::DiffSyntaxHighlighter(QTextDocument *parent, DiffWidget *diffWidget)
22 : KSyntaxHighlighting::SyntaxHighlighter(parent)
23 , m_diffWidget(diffWidget)
24{
25}
26
27void DiffSyntaxHighlighter::applyFormat(int offset, int length, const KSyntaxHighlighting::Format &format)
28{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected