text

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Text

type Text struct {
	Node *tree.Node
}

func (*Text) DEL

func (t *Text) DEL(span *span.DELSpan) error

func (*Text) FMT

func (t *Text) FMT(span *span.FMTSpan) error

func (*Text) INS

func (t *Text) INS(span *span.INSSpan) error

func (*Text) MOD

func (t *Text) MOD(span *span.MODSpan) error

func (Text) MarshalJSON

func (t Text) MarshalJSON() ([]byte, error)

func (*Text) Spans

func (t *Text) Spans() []*span.INSSpan

func (*Text) String

func (t *Text) String() string

assuming content is not meta

func (*Text) UnmarshalJSON

func (t *Text) UnmarshalJSON(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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