display

package
v0.0.0-...-e712342 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayBreakpoints

func DisplayBreakpoints(p *attached.Process)

func Echo

func Echo(state bool)

func Init

func Init() (func(), error)

func SearchInput

func SearchInput() string

Types

type BreakPointView

type BreakPointView struct {
	*FilePartialView
}

func NewBreakPointView

func NewBreakPointView() *BreakPointView

func (*BreakPointView) Show

func (bpv *BreakPointView) Show(p *attached.Process)

type Command

type Command struct {
	Name   string
	Params []string
}

func NextCommand

func NextCommand(p *attached.Process, match completion.MatchFunc) *Command

type ContextView

type ContextView struct {
	*FilePartialView
}

func NewContextView

func NewContextView() *ContextView

func (*ContextView) LoadContext

func (f *ContextView) LoadContext(p *attached.Process) error

type Expanse

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

func (*Expanse) Close

func (e *Expanse) Close()

type FilePartialView

type FilePartialView struct {
	*Output
}

func NewFilePartialView

func NewFilePartialView() *FilePartialView

func (*FilePartialView) FileContext

func (f *FilePartialView) FileContext(path string, line, offset int) error

type FileView

type FileView struct {
	*Output
}

func NewFileView

func NewFileView() *FileView

func (*FileView) LoadFile

func (f *FileView) LoadFile(path string) error

type Input

type Input nc.Key

func NextInput

func NextInput() Input

func (Input) String

func (i Input) String() string

type Output

type Output struct {
	Expanse
	// contains filtered or unexported fields
}
var Curr *Output //TODO better

func NewOutput

func NewOutput() *Output

func (*Output) Empty

func (o *Output) Empty()

func (*Output) FindNext

func (o *Output) FindNext(s string) int

Find s after line l

func (*Output) GoToLine

func (o *Output) GoToLine(line int)

func (*Output) MoveCursor

func (o *Output) MoveCursor(lines int)

func (*Output) Print

func (o *Output) Print(l string)

func (*Output) Printf

func (o *Output) Printf(fmts string, args ...interface{})

func (*Output) Redraw

func (o *Output) Redraw()

func (*Output) Scroll

func (o *Output) Scroll(dist int)

func (*Output) Size

func (o *Output) Size() int

Jump to

Keyboard shortcuts

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