highlight

package
v0.0.0-...-70c1726 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

type Emitter struct {
	GoodFormHead func(string) bool
	AddStyling   func(begin, end int, style string)
}

func (*Emitter) EmitAll

func (e *Emitter) EmitAll(n parse.Node)

type Styling

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

func (*Styling) Add

func (s *Styling) Add(begin, end int, style string)

func (*Styling) Apply

func (s *Styling) Apply() *StylingApplier

type StylingApplier

type StylingApplier struct {
	*Styling
	// contains filtered or unexported fields
}

func (*StylingApplier) At

func (a *StylingApplier) At(i int)

func (*StylingApplier) Get

func (a *StylingApplier) Get() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL