Author Topic: Replace scope is recently always Global?  (Read 4155 times)

Offline anotherOpenGLFan

  • Single posting newcomer
  • *
  • Posts: 6
Replace scope is recently always Global?
« 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?

Offline anotherOpenGLFan

  • Single posting newcomer
  • *
  • Posts: 6
Re: Replace scope is recently always Global?
« Reply #1 on: November 03, 2013, 04:50:28 pm »
It's somehow magically back to normal, I've no idea why.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Replace scope is recently always Global?
« Reply #2 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]