HF RL Explorer

Document lineStartIndexes causes index out of range panic with empty documents

Document lineStartIndexes causes index out of range panic with empty documents: a task in UltraTerminal (Harbor dataset). When working with empty documents or documents with no line breaks, the lineStartIndexes() method causes a panic due to an index out of range error. This affects cursor…

The task

When working with empty documents or documents with no line breaks, the `lineStartIndexes()` method causes a panic due to an index out of range error. This affects cursor movement operations on empty buffers.

Part of harness-hub/UltraTerminal.