Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Highlight ¶
type Highlight struct {
// At is the addressed string.
At [2]int64
// Style is the style to apply to the string.
text.Style
}
A Highlight is a style applied to an addressed string of text.
type Regexp ¶
type Regexp struct {
// Regexp is the re1 regular expression to match the element.
Regexp string
// Group is the numbered capture group of the element text.
Group int
Style text.Style
}
A Regexp describes a syntactic element using a regular expression.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package dirsyntax implements a syntax.Highlighter for directory entries.
|
Package dirsyntax implements a syntax.Highlighter for directory entries. |
|
Package gosyntax implements a syntax.Highlighter for Go syntax.
|
Package gosyntax implements a syntax.Highlighter for Go syntax. |
Click to show internal directories.
Click to hide internal directories.