import { calcLines } from "https://deno.land/x/indent_and_wrap@v0.0.15/private/indent.ts";
Count number of lines in text string, and determine column number after the last character.
This function only considers text substring from from
to to
.
Lines and columns counter starts from provided values: nLine
and nColumn
.
If options.mode
is term
, skips terminal escape sequences (like VT100 color codes).
Parameters
optional
options: CalcLinesOptions