mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
17 lines
585 B
C++
17 lines
585 B
C++
class DiffSyntax : public EditorSyntax {
|
|
public:
|
|
DiffSyntax();
|
|
|
|
virtual void Highlight(const wchar *start, const wchar *end, HighlightOutput& hls,
|
|
CodeEditor *editor, int line, int64 pos);
|
|
|
|
protected:
|
|
void Put(int ink, int n = 1, int paper = PAPER_NORMAL);
|
|
void Do(const wchar *s, const wchar *end, CodeEditor *editor, int line, int tabsize, int64 pos);
|
|
|
|
int FindTheNumberOfCharsToLineEnd(const wchar *current, const wchar *end) const;
|
|
bool IsPattern(const wchar *current, const wchar *end, String pattern) const;
|
|
|
|
private:
|
|
HighlightOutput *hout;
|
|
};
|