highlighting

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Highlighting

type Highlighting interface {
	Get(lineno, col int) tcell.Style
	Analyze() Highlighting
	DeleteLine(lineno int) Highlighting
	ModifyLine(lineno int, data []rune) Highlighting
	InsertLine(lineno int, data []rune) Highlighting
	Pattern(pattern string, lefti, righti int, style tcell.Style, priority uint8) Highlighting
	Keyword(keyword string, style tcell.Style, priority uint8) Highlighting
}

func New

func New(source [][]rune) Highlighting

func NewDummy

func NewDummy() Highlighting

type Mapping

type Mapping struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳