Documentation ¶
Index ¶
- type Document
- func (d *Document) Height() int
- func (d *Document) InsertRune(r rune, row int, col int)
- func (d *Document) Length() int
- func (d *Document) Load(filename string) error
- func (d *Document) Render() string
- func (d *Document) Row(i int) Row
- func (d *Document) SplitLine(row int, col int)
- func (d *Document) String() string
- type Row
- type Rows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct { Rows Rows // contains filtered or unexported fields }
func LoadDocument ¶
LoadDocument todo 暂时只加载一个 document is never null.
func NewDocument ¶
func NewDocument() *Document
func (*Document) InsertRune ¶
InsertRune insert rune at specified row and column
Click to show internal directories.
Click to hide internal directories.