Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: anotherOpenGLFan on October 31, 2013, 01:55:23 am

Title: Replace scope is recently always Global?
Post by: anotherOpenGLFan on October 31, 2013, 01:55:23 am
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?
Title: Re: Replace scope is recently always Global?
Post by: anotherOpenGLFan on November 03, 2013, 04:50:28 pm
It's somehow magically back to normal, I've no idea why.
Title: Re: Replace scope is recently always Global?
Post by: oBFusCATed on November 03, 2013, 08:16:10 pm
I think the scope is set to "selected text" only if there is a selection, which spans multiple lines.