<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=9009011" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LarsGit223">@LarsGit223</a> The existing code iterates documents_array sequentially. It's better for the user to iterate in notebook tab order, because tabs can be reordered. The user will notice the difference when there are unsaved documents to close.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2347?email_source=notifications&email_token=AAIOWJ3GKY7FDG26THFOGXDQNSVZZA5CNFSM4I6TYFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUW2YI#issuecomment-539585889">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4H6TLMFBGBWRWFG63QNSVZZANCNFSM4I6TYFHA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2H25OSSESGWLJOPITQNSVZZA5CNFSM4I6TYFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUW2YI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2347?email_source=notifications\u0026email_token=AAIOWJ3GKY7FDG26THFOGXDQNSVZZA5CNFSM4I6TYFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUW2YI#issuecomment-539585889",
"url": "https://github.com/geany/geany/pull/2347?email_source=notifications\u0026email_token=AAIOWJ3GKY7FDG26THFOGXDQNSVZZA5CNFSM4I6TYFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUW2YI#issuecomment-539585889",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>