TextBeforeCursor returns incorrect text when cursor position 0
TextBeforeCursor returns incorrect text when cursor position 0: a task in harness-adapters: Agentic coding environments (Harbor dataset). The TextBeforeCursor() method is returning text that's missing the last character before the cursor position. When the cursor is at position N, it should return…
The task
The `TextBeforeCursor()` method is returning text that's missing the last character before the cursor position. When the cursor is at position N, it should return all characters from 0 to N-1, but currently it's returning characters from 0 to N-2.
Part of harness-hub/harness-adapters.