On Tue, Dec 15, 2009 at 09:12:25PM +0000, Ximin Luo wrote:
> Geany does not escape "\\" if it occurs in the replacement string in "Find and
> Replace", regardless of whether "Use escape sequences" is checked. This means
> that it's impossible to correctly replace something with a string that 
> contains
> the literal '\r', '\n', '\t', etc..., since (eg.) "\t" is treated as a tab, 
> and
> "\\t" is treated as a backslash followed by a tab.

 I could not reproduce this. Could you please give a step by step example of
what you did to trigger it?

 I used a text file with (created with echo 'try to replace me \t' >test_file):

try to replace me \t

 And replaced "me" with \t, if "Use escape sequences" was not checked it
inserted a literal \t, else it inserted a tab. Using \\t and "Use escape
sequences" it inserted the literal \t else it inserted the literal \\t.

 I even tried replacing the literal \t in the file using \t and no "Use escape
sequences", and \\t and "Use escape sequences".

 Everything worked as expected, so the exact case you are seeing might be
necessary to reproduce this?

 Thanks for your report and I hope you have time to lend another hand on this.

  Damián.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to