Replace text bug is still there ( http://forums.codeblocks.org/index.php?topic=3365.msg26597#msg26597 )
Replase dialog ignores flag "Entire scope" and searches for replace from cursor
There might be several problems, let's compare with regular searching.
1) from cursor
a) the 'search' start from the current position of the cursor, when it reaches the end it wraps around (without asking) The fact that it wraps around is due to the editor setting being ticked ("Auto-wrap search when EOF reached")
b) the 'replace' starts from the current position, when it reaches the end : it does NOT wrap around
2) entire scope
a) the search starts from the start of the document (and when the end is reached and you continue to 'find next' it will wrap around (due to the setting))
b) the 'replace' starts from the current position and NOT from the start
2)b) ==> BUG
1)b) because no wrap around, it can be considered a bug, but on the other hand it could have been the intention only to replace something from the start till the end
My suggestion would be (next to fixing the bug 2)b)) :
- have the wrap around setting move, so no longer in Settings->Editor, but also a setting in the search/replace dialog (like the other settings which are there : up/down cursor/scope, ...), then this is more consistent
- have the replace command also have the ability to wrap around ( case 1)b) ) (mathematically one would say this derives easily from the previous suggestion)
Does this sounds plausible ?