search

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchInstance

type MatchInstance struct {
	StartOffset int
	Length      int
}

type MatchLine

type MatchLine struct {
	Line      *buffer.Line
	Instances []MatchInstance
}

func AllMatches

func AllMatches(pattern string, start *buffer.Line, maxLineCount int) (matches []MatchLine, firstLineIndex int, error error)

Jump to

Keyboard shortcuts

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