const makeInlineCursor: (
max: number,
align: Alignment,
) => {
push:
(
advance: number,
trim: number,
hard: number,
cross: number,
base: number,
descent: number,
xHeight: number,
) => void,
flush: (x: number) => void,
gather:
(
reduce: (
start: number,
end: number,
gap: number,
lead: number,
count: number,
cross: number,
ascent: number,
descent: number,
xHeight: number,
index: number,
) => void,
) => Float32Array,
}
packages / workbench / src / text / cursor.ts