looks good to me
additionally there is another scenario of creation of non-empty document which is Document->Clone
it is not considered by this code but seems to work ok anyway
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3911#issuecomment-2505655266
You are receiving this because you are subscribed to this thread.
Message ID:
geany/geany/pull/3911/c2505655266@github.com