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

◆ HighlightEventType

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:
  • /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/highlightevent.h