[Github-comments] [geany/geany] When "go to line" is out of bounds, go to beginning or end of document (PR #2973)

xiota notifications at xxxxx
Sun Oct 31 04:41:54 UTC 2021


@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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2973#issuecomment-955635829
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211030/24888050/attachment.htm>


More information about the Github-comments mailing list