tag

package
v1.4.186 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(from, to int64, color, caption string)

Add creates a new tag

func AddRand

func AddRand(from, to int64, caption string)

Add creates a new tag with random color

func AddRandf

func AddRandf(from, to int64, format string, args ...interface{})

func Addf

func Addf(from, to int64, color, format string, args ...interface{})

func Close

func Close()

Close closes the tag manager

func LastPos

func LastPos() int64

LastPos returns the last position

func Mark

func Mark(color string, caption string)

Mark requires coder to be set, but smartly marks from last position to current position

func MarkRand added in v1.4.113

func MarkRand(caption string)

MarkRand requires coder to be set, but smartly marks from last position to current position

func New

func New()

New creates a new tag manager

func NewWithCoder

func NewWithCoder(c encdec.Coder)

func SetCoder

func SetCoder(c encdec.Coder)

func Write

func Write(path string) error

Write writes the tag file

Types

This section is empty.

Jump to

Keyboard shortcuts

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