content

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PanelName = "AllContent"
)

Variables

This section is empty.

Functions

func YamlHighlight

func YamlHighlight(str string, filter string) string

Types

type Panel

type Panel struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func New

func New(g *gui.Gui, content string) *Panel

func (*Panel) Focus

func (p *Panel) Focus()

func (*Panel) Name

func (p *Panel) Name() string

func (*Panel) SetData

func (p *Panel) SetData()

func (*Panel) SetFilterWord

func (p *Panel) SetFilterWord(word string)

func (*Panel) SetKeybinding

func (p *Panel) SetKeybinding(g *gui.Gui)

func (*Panel) UnFocus

func (p *Panel) UnFocus()

func (*Panel) UpdateData

func (p *Panel) UpdateData(g *gui.Gui)

Jump to

Keyboard shortcuts

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