User forums > Using Code::Blocks

Replace scope is recently always Global?

(1/1)

anotherOpenGLFan:
Previously, In code blocks, when I want to replace `.x` with `.y` in the text _____, I would Select that text, press `CTRL+R`, and fill out as required. It used to be, with this same installation, that the "scope" box for the Replace dialog was always set to "Selected text". Now it is always "Global". It's a little annoying having to switch it over every time, especially when it used to be default.

So, how do I make "Selected text" the default scope for the Replace box?

anotherOpenGLFan:
It's somehow magically back to normal, I've no idea why.

oBFusCATed:
I think the scope is set to "selected text" only if there is a selection, which spans multiple lines.

Navigation

[0] Message Index

Go to full version