simple

package
Version: v0.0.0-...-a41f229 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "simple"

Variables

This section is empty.

Functions

func Constructor

func Constructor(config map[string]interface{}, cache *registry.Cache) (highlight.Fragmenter, error)

Types

type Fragmenter

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

func NewFragmenter

func NewFragmenter(fragmentSize int) *Fragmenter

func (*Fragmenter) Fragment

func (s *Fragmenter) Fragment(orig []byte, ot highlight.TermLocations) []*highlight.Fragment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL