@elextr Would you have any objection to moving the `-1` from `get_line_and_offset_from_text` to `editor_goto_line` so that `line_no` is always non-negative as previously expected?
As far as I can tell, these functions are used only for this feature, and not by any plugins.