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.
type EventLayerStart ¶
type EventLayerStart struct {
// LanguageName is the name of the language that is being injected.
LanguageName string
}
EventLayerStart is emitted when a language injection starts.
type EventSource ¶
EventSource is emitted when a source code range is highlighted.
Click to show internal directories.
Click to hide internal directories.