Source-highlight Library
srchilite::HighlightEvent Struct Reference

Event concerning an highlighting operation (e.g., formatting, entering a new state, exiting a state, etc.) More...

#include <highlightevent.h>

Collaboration diagram for srchilite::HighlightEvent:

Public Types

enum  HighlightEventType { FORMAT = 0, FORMATDEFAULT, ENTERSTATE, EXITSTATE }
 the type of the event More...
 

Public Member Functions

 HighlightEvent (const HighlightToken &_token, HighlightEventType _type=FORMAT)
 

Public Attributes

const HighlightTokentoken
 the token corresponding to the event
 
HighlightEventType type
 the type of event
 

Detailed Description

Event concerning an highlighting operation (e.g., formatting, entering a new state, exiting a state, etc.)

Member Enumeration Documentation

the type of the event

Enumerator
FORMAT 

a standard formatting event

FORMATDEFAULT 

formatting something as normal

ENTERSTATE 

entering a new formatting state

EXITSTATE 

exiting a formatting state


The documentation for this struct was generated from the following file: