MCPcopy
hub / github.com/micro-editor/micro / init

Function init

internal/buffer/line_array_test.go:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16var la *LineArray
17
18func init() {
19 reader := strings.NewReader(unicode_txt)
20 la = NewLineArray(uint64(len(unicode_txt)), FFAuto, reader)
21}
22
23func TestSplit(t *testing.T) {
24 la.insert(Loc{17, 1}, []byte{'\n'})

Callers

nothing calls this directly

Calls 1

NewLineArrayFunction · 0.85

Tested by

no test coverage detected