buffers

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextFileBuffer

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

TextFileBuffer 是一个简单的文本文件读写缓冲区

func (*TextFileBuffer) GetText

func (inst *TextFileBuffer) GetText(reload bool) string

GetText 获取文本

func (*TextFileBuffer) Init

func (inst *TextFileBuffer) Init(file fs.Path)

Init 初始化缓冲区

func (*TextFileBuffer) SetText

func (inst *TextFileBuffer) SetText(text string, force bool)

SetText 设置文本

Jump to

Keyboard shortcuts

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