You are here: PSPad forum > Bug report / Hlášení chyb > dead loop (not responsive) v5.0.6

dead loop (not responsive) v5.0.6

#1 dead loop (not responsive) v5.0.6

Posted by: target232 | Date: 2023-02-09 14:36 | IP: IP Logged

How to make pspad to enter in dead loop (start to allocate more and more memory and be not responsive)

1. Open new Pspad
2. enter this text:
asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|asdf|
3. press Ctrl-H to open Replace and enter
Find: |
Replace: \n
Options: Regular expressions
Direction: Entire scope
Scope: Global
start replacing all

My version of Pspad: 5.0.6 (589) 8/4/2021

Edited 1 time(s). Last edit at 2023-02-09 14:41 by target232.

Options: Reply | Quote | Up ^


#2 Re: dead loop (not responsive) v5.0.6

Posted by: pspad | Date: 2023-02-09 17:31 | IP: IP Logged

When you replace with \n you have to replace from the end of your text with backward direction. I know it isn't intuitive.

I will take a look why this stupid bug is back again

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR