This PR sends the cursor to the beginning or end of the document when "go to line" is out of bounds. When this occurs, the line marker is not set. Behavior of both the dialog and toolbar are affected. Addresses #2146. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2973
-- Commit Summary --
* <a href="https://github.com/geany/geany/pull/2973/commits/9cd5a290093c76d57c77653a08340739b47d1ea5">When "go to line" is out of bounds, go to beginning or end of document</a>
-- File Changes --
M src/editor.c (32)
-- Patch Links --
https://github.com/geany/geany/pull/2973.patch https://github.com/geany/geany/pull/2973.diff