Mod lines

lines module, when called splits a string into lines. require'lines'(text) -> table of lines
sub-modules include several data structures with more performant mechanisms to insert/remove/etc based on real-world workloads (i.e. editor, parser, etc)

Mod lines.diff

Diffing module and command Example command: lines.diff{'file/path1.txt', 'file/path2.txt'} Note: the arguments can be a string (path) or list of lines.
Types: Diff
Functions

Record Diff

Line-based diff. The default algorithm uses patience diff. Special thanks to: https://blog.jcoglan.com/2017/09/19/the-patience-diff-algorithm
The basic algorithm on before/after line lists:
Example: io.fmt(Diff(linesA, linesB)) Fields: Methods

Record lines.Writer

Methods

Record Gap

Fields: Methods

Record lines.U3File

Fields: Methods

Record File

Fields: Methods

Record EdFile

Fields: Methods

Mod lines.futils

utilities for file loading of lines. Functions

Mod rebuf.motion

module with helper methods for moving a cursor around a lines-like 2D grid. Functions of whatever is at s[i