smap

package
v1.99.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HT = 0x09
	LF = 0x0a
	CR = 0x0d
)
View Source
const (
	Tab = "    "
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SMap

type SMap []String

func Map

func Map(m *mmap.MMap) *SMap

func (*SMap) CanIndent

func (s *SMap) CanIndent() bool

func (*SMap) Find

func (s *SMap) Find(nr int) (int, bool)

func (*SMap) Grep

func (s *SMap) Grep(re *regexp.Regexp) *SMap

func (*SMap) Indent

func (s *SMap) Indent() *SMap

func (*SMap) Render

func (s *SMap) Render() *SMap

func (*SMap) Size

func (s *SMap) Size() (w, h int)

func (*SMap) String

func (s *SMap) String() string

func (*SMap) Wrap

func (s *SMap) Wrap(w int) *SMap

type String

type String struct {
	Nr  int    // string nr
	Grp int    // string group
	Str string // string data
}

Jump to

Keyboard shortcuts

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