FOSSology  4.4.0
Open Source License Compliance by Open Source Software
highlight.h
1 /*
2  Author: Daniele Fognini, Andreas Wuerl
3  SPDX-FileCopyrightText: © 2013-2014 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 #ifndef MONK_AGENT_HIGHLIGHT_H
9 #define MONK_AGENT_HIGHLIGHT_H
10 
11 #include <glib.h>
12 #include "diff.h"
13 
14 void convertToAbsolutePositions(GArray* diffMatchInfo,
15  GArray* textTokens,
16  GArray* searchTokens);
17 
18 DiffPoint getFullHighlightFor(const GArray* tokens, size_t firstMatchedIndex, size_t matchedCount);
19 
20 #endif // MONK_AGENT_HIGHLIGHT_H
Definition: diff.h:14