changelist

package
v0.0.0-...-91d1363 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

func New

func New(files []*os.File, regex *regexp2.Regexp, subst *string) (*Model, error)

func (Model) GetCurrentChange

func (m Model) GetCurrentChange() *filechange.Model

func (Model) GetCursorYOffset

func (m Model) GetCursorYOffset() int

func (*Model) MoveCursor

func (m *Model) MoveCursor(lines int)

func (*Model) MoveOneFile

func (m *Model) MoveOneFile(up bool)

func (Model) Replace

func (m Model) Replace()

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (*Model) UpdateFilePager

func (m *Model) UpdateFilePager()

func (*Model) UpdateViewport

func (m *Model) UpdateViewport()

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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