@kugel- commented on this pull request.


>  
        /* necessary to set it to TRUE for project session support */
        main_status.opening_session_files++;
 
-       i = file_prefs.tab_order_ltr ? 0 : (session_files->len - 1);
-       while (TRUE)
+       file_prefs.tab_order_beside = FALSE;
+       file_prefs.tab_order_ltr = TRUE;

Then I think `notebook_new_tab()` should look at 
`main_status.opening_session_files`. This is the primary indication that we are 
in "batch open mode" if some code must behave differently. I also used that 
flag to open docs in a idle callback instead of synchronously (see #3267 / 
commit 23367de0c5)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3611#discussion_r1364474548
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3611/review/[email protected]>

Reply via email to