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 »

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: 6375
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 »

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 »

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: 6375
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 »

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 »

Many thanks for the speedy fixes. :)
Post Reply