When `doc == doc_b`, `pos` should not increment since if the tab is moving from left to right (like when saving an untitled document to a new file), the target position should be `pos - 1`.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/commit/b1528f01e240379c0f75ae0c2f50829b271c0f...