Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event interface {
// contains filtered or unexported methods
}
Event is an interface that represents a highlight Event. Possible implementations are: - EventLayerStart - EventLayerEnd - EventCaptureStart - EventCaptureEnd - EventSource
type EventCaptureEnd ¶
type EventCaptureEnd struct{}
EventCaptureEnd is emitted when a highlight region ends.
type EventCaptureStart ¶
type EventCaptureStart struct {
// Highlight is the capture name of the highlight.
Highlight uint
}
EventCaptureStart is emitted when a highlight region starts.
type EventLayerEnd ¶
type EventLayerEnd struct{}
EventLayerEnd is emitted when a language injection ends.
Source Files
¶
- events.go
Click to show internal directories.
Click to hide internal directories.