Page 1 of 1

Find and Replace Bug, CodeLite 9.2.0

Posted: Sat Jul 30, 2016 1:34 pm
by mattday
CodeLite hangs when I try to remove some text by replacing it with no text (this seemed like a legitimate way to remove some const qualifiers when writing a deserialisation routine based on the serialisation code).

System:
  • CodeLite 9.2.0
    Windows 10 64-bit
    TDM-GCC-64 (gcc-5.1.0)
Steps:
  • Select some text in editor
    Press ctrl+h to replace text
    Enter phrase in find text box
    Do not enter anything in replace text box
    Click Replace All
    CodeLite will hang

Re: Find and Replace Bug, CodeLite 9.2.0

Posted: Sat Jul 30, 2016 5:33 pm
by eranif
I am unable to reproduce this.
Do you have other options enabled? like: Regex etc?

Eran

Re: Find and Replace Bug, CodeLite 9.2.0

Posted: Sat Jul 30, 2016 8:28 pm
by mattday
No other options except for 'in selected text'. (Note: everything is OK when not replacing in a selection).

I have just checked on a different machine with the same software versions and observed the same problem. I have tested using a couple of different workspaces and observed the problem in both. However, these have multiple projects and source files. If I do a trivial test with a single project and single source file, the problem does not manifest.

Re: Find and Replace Bug, CodeLite 9.2.0

Posted: Sat Jul 30, 2016 10:50 pm
by eranif
This is now also fixed in git master

Eran

Re: Find and Replace Bug, CodeLite 9.2.0

Posted: Sun Jul 31, 2016 3:58 pm
by mattday
Many thanks for the speedy fixes. :)