Posted 14 years ago
by Matt Whitfield
Version: 4.0.0285
Platform: .NET 4.0
Environment: Windows 7 (32-bit)

Hello
If I load up the sample SDI editor application, go to the Find/Replace dialogue, enter the search text '\n\n' and the replacement text '\n', and click 'Use regular expressions' then the replaced text, instead of replacing two line feeds with a single line feed, it replaces two line feeds with the literal text '\n'.
Obviously I have replicated this in code, but I haven't created a sample app specifically to demonstrate - please let me know if you would like me to do that.
I have just upgraded to .285 but this doesn't seem to fix it - and I'm reasonably sure this bug wasn't there in previous versions?
Thanks
Matt
If I load up the sample SDI editor application, go to the Find/Replace dialogue, enter the search text '\n\n' and the replacement text '\n', and click 'Use regular expressions' then the replaced text, instead of replacing two line feeds with a single line feed, it replaces two line feeds with the literal text '\n'.
Obviously I have replicated this in code, but I haven't created a sample app specifically to demonstrate - please let me know if you would like me to do that.
I have just upgraded to .285 but this doesn't seem to fix it - and I'm reasonably sure this bug wasn't there in previous versions?
Thanks
Matt