Source-highlight Library
highlightevent.h
1//
2// Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2008
3//
4// Copyright: See COPYING file that comes with this distribution
5//
6
7#ifndef HIGHLIGHTEVENT_H_
8#define HIGHLIGHTEVENT_H_
9
10namespace srchilite {
11
12struct HighlightToken;
13
21 FORMAT = 0,
25 };
26
29
32
34 token(_token), type(_type) {
35 }
37 }
38};
39
40}
41
42#endif /*HIGHLIGHTEVENT_H_*/
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Event concerning an highlighting operation (e.g., formatting, entering a new state,...
Definition: highlightevent.h:18
HighlightEventType
the type of the event
Definition: highlightevent.h:20
@ EXITSTATE
exiting a formatting state
Definition: highlightevent.h:24
@ FORMAT
a standard formatting event
Definition: highlightevent.h:21
@ FORMATDEFAULT
formatting something as normal
Definition: highlightevent.h:22
@ ENTERSTATE
entering a new formatting state
Definition: highlightevent.h:23
HighlightEventType type
the type of event
Definition: highlightevent.h:31
const HighlightToken & token
the token corresponding to the event
Definition: highlightevent.h:28
Token containing information for performing the highlight.
Definition: highlighttoken.h:33