hldata: toString()->const
This commit is contained in:
parent
8f878444eb
commit
d3452ac18c
@ -166,7 +166,7 @@ bool matchGroup(const HighlightData& hldata,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HighlightData::toString(string& out)
|
void HighlightData::toString(string& out) const
|
||||||
{
|
{
|
||||||
out.append("\nUser terms (orthograph): ");
|
out.append("\nUser terms (orthograph): ");
|
||||||
for (std::set<string>::const_iterator it = uterms.begin();
|
for (std::set<string>::const_iterator it = uterms.begin();
|
||||||
|
|||||||
@ -64,7 +64,7 @@ struct HighlightData {
|
|||||||
void append(const HighlightData&);
|
void append(const HighlightData&);
|
||||||
|
|
||||||
// Print (debug)
|
// Print (debug)
|
||||||
void toString(std::string& out);
|
void toString(std::string& out) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline void setWinMinMax(int pos, int& sta, int& sto)
|
inline void setWinMinMax(int pos, int& sta, int& sto)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user