[Geany] find and replace

Nick Treleaven nick.treleaven at xxxxx
Mon Aug 7 10:03:01 UTC 2006


On 04/08/06 17:11:32, John Gabriele wrote:
> On 8/4/06, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
>> On 04/08/06 06:52:51, John Gabriele wrote:
>> [snip]
>> >
>> > With regard to the "Replace control characters", I see that this
>> > means: if you put one of these 2-character patterns in your replace
>> > string (like \t), you'll actually get the control character when  
>> the
>> > replace happens (instead of the two separate '\' and 't'  
>> characters).
>> > It may be an error that this option is in the "Find" dialog,  
>> correct?
>> 
>> No, what if you want to find lines with a certain indentation? Also  
>> it
>> can be used to find Unicode characters by their code.
> 
> Ah. Ok. I was confused because the overloading of the word "replace"
> (in connection with "find and replace"). In both the "Find" and
> "Replace" dialogs, it might make it more clear to change this
> checkboxe's name from "Replace control characters" to "Interpret
> control characters", since the editor is "interpreting" what you
> really mean when you type \t or \uXXXX. Also, in the "Replace" dialog,
> you might add to the popup help for this item that the replacement
> happens for *both* the find text *and* the replace text. (That is, I
> think you can search for foo_\uXXXX and replace it with foo_\uYYYY.)
Correct. Will do after 0.8.
> 
> BTW, there seems to be a small bug in the "Replace" dialog: when the
> search text is the same as the replace text, and you don't have the
> case sensitive box checked, the editor just beeps at you when you hit
> "Find".
Fixed now.

Regards,
Nick



More information about the Users mailing list