MCPcopy Index your code
hub / github.com/micro-editor/micro / deleteLines

Method deleteLines

internal/buffer/line_array.go:284–286  ·  view source on GitHub ↗
(y1, y2 int)

Source from the content-addressed store, hash-verified

282}
283
284func (la *LineArray) deleteLines(y1, y2 int) {
285 la.lines = la.lines[:y1+copy(la.lines[y1:], la.lines[y2+1:])]
286}
287
288// Substr returns the string representation between two locations
289func (la *LineArray) Substr(start, end Loc) []byte {

Callers 1

removeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected