Can you try to reproduce this in notepad++?
i somehow can not reproduce it, or i do something wrong...
[Edit:] if i use alt+tab cb always ask if i want to reload the code, and then this selection issue does not happen for me...
Can you make a step by step description, like
1) Open codeblocks
2) Open file in editor
3) Open the same file in external editor, by going->Start->Notepad.exe->Enter
4) Modify the file in notepad
5) Save the file in notepad
6) Switch to codeblocks by pressing alt+tab
7) No dialog appears

text is selected