buildAllLogicalLines function
Returns all LogicalLines of the document, in reading order.
Implementation
List<LogicalLine> buildAllLogicalLines(Root root) {
_buildAllLogicalLinesCallCount++;
print('[NAV_DEBUG] buildAllLogicalLines call #$_buildAllLogicalLinesCallCount');
final out = <LogicalLine>[];
for (final node in root.nodes) {
_collectLogicalLines(node, out);
}
return out;
}