@eht16 commented on this pull request.
In src/editor.c:
> @@ -4746,8 +4746,12 @@ gboolean editor_goto_pos(GeanyEditor *editor, gint pos, gboolean mark) sci_goto_pos(editor->sci, pos, TRUE); editor->scroll_percent = 0.25F; - /* finally switch to the page */ - document_show_tab(editor->document); + /* switch to the page, via idle callback in case of batch-opening */ + if (main_status.opening_session_files) + document_show_tab_idle(editor->document);
Maybe we can use document_show_tab_idle()
unconditionally even for non-batch-opening?
I didn't test but would assume it behaves equally.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.