Find and Replace Bug, CodeLite 9.2.0

CodeLite installation/troubleshooting forum
mattday
CodeLite Enthusiast
Posts: 21
Joined: Mon Jan 09, 2012 11:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Find and Replace Bug, CodeLite 9.2.0

Post by mattday » Sat Jul 30, 2016 1:34 pm

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

User avatar
eranif
CodeLite Plugin
Posts: 5910
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Find and Replace Bug, CodeLite 9.2.0

Post by eranif » Sat Jul 30, 2016 5:33 pm

I am unable to reproduce this.
Do you have other options enabled? like: Regex etc?

Eran
Make sure you have read the HOW TO POST thread

mattday
CodeLite Enthusiast
Posts: 21
Joined: Mon Jan 09, 2012 11:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Find and Replace Bug, CodeLite 9.2.0

Post by mattday » Sat Jul 30, 2016 8:28 pm

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.

User avatar
eranif
CodeLite Plugin
Posts: 5910
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Find and Replace Bug, CodeLite 9.2.0

Post by eranif » Sat Jul 30, 2016 10:50 pm

This is now also fixed in git master

Eran
Make sure you have read the HOW TO POST thread

mattday
CodeLite Enthusiast
Posts: 21
Joined: Mon Jan 09, 2012 11:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Find and Replace Bug, CodeLite 9.2.0

Post by mattday » Sun Jul 31, 2016 3:58 pm

Many thanks for the speedy fixes. :)

Post Reply