Hi,
When i go to fin in files dialog, we have an option to replace search candidates (find replace candidates). But no option is provided to mention the word to replace with. if i want to search for "a" & replace it with "b", where should i specify b. the same for find dialog.
Regards
Guruaja
incorrect file replace option
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: incorrect file replace option
Just click 'Find Replace candidates' and see what happens ...hbr_in wrote:here should i specify b
if you will click it, you will see all the results in the 'Replace Results' tab at the bottom.
There u will be able to get a 'preview', a place to enter the 'replace with' and more
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: incorrect file replace option
I enterd the text to replace & found that there is only replace all.eranif wrote: There u will be able to get a 'preview', a place to enter the 'replace with' and more
Eran
now i was wondering what to do if i want to do only for few occurances & there was no replace but.
so was researching on this 5 min & forund that
double clicking on the occurance would replace the work.
isnt it be easier if i have a replace button along with replace all.
TIA
Regards
Gururaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: incorrect file replace option
eranif wrote:I enterd the text to replace & found that there is only replace all.
now i was wondering what to do if i want to do only for few occurances & there was no replace but.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: incorrect file replace option
1. The "search /replace in selected text" doesnt do anything. I think its same as find next.
a. even though i have entered some text in "replace with" field in "replace results" window, then select search /replace in selected text & then press enter. it just moves searching "find what" word.
2. Shouldnt the replace with field appear right below the replace results tab.
a. even though i have entered some text in "replace with" field in "replace results" window, then select search /replace in selected text & then press enter. it just moves searching "find what" word.
2. Shouldnt the replace with field appear right below the replace results tab.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: incorrect file replace option
When 'Search / Replace in selected text' is enabled, the 'Find Next' is disabled, so it can do the same. You need to have selected text to use it.hbr_in wrote:1. The "search /replace in selected text" doesnt do anything. I think its same as find next.
You are mixing 2 operations here: 'Find Results' and 'Find/Replace' dialog are 2 different entities. setting the 'replace with' in the 'Replace results' has NO affect on the 'Find/Replace dialog'hbr_in wrote:a. even though i have entered some text in "replace with" field in "replace results" window, then select search /replace in selected text & then press enter. it just moves searching "find what" word.
By default, enter moves to the next control. If you want to perform the 'replace all' click 'Alt-A' or click the button - anything other than that, please submit a bug report / feature request.
Do you mean to move the text area and the buttons to be above the list of results?hbr_in wrote:2. Shouldnt the replace with field appear right below the replace results tab.
---static text here
---replace with:[ ] [Replace all] [Clear]
---list of results
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: incorrect file replace option
Then why does 'Search / Replace in selected text' appear in find dialogeranif wrote:When 'Search / Replace in selected text' is enabled, the 'Find Next' is disabled, so it can do the same. You need to have selected text to use it.
So, if find and find/replace are different then keep it different. Why are u bringing replace word in find dialog.eranif wrote: You are mixing 2 operations here: 'Find Results' and 'Find/Replace' dialog are 2 different entities. setting the 'replace with' in the 'Replace results' has NO affect on the 'Find/Replace dialog'
I just saw u have done this.eranif wrote:Do you mean to move the text area and the buttons to be above the list of results?
---static text here
---replace with:[ ] [Replace all] [Clear]
---list of results
Eran
If u believe me i have subscribed to CL Mailing list, CL Development build & every other place i can get info abt CL developemnts. I feel really happy when u have done somethings to improve it. Keep up the good work man. u r doing good.
TIA
Regards
Guruaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: incorrect file replace option
You are correct, this entry should not appear in the 'Find Dialog' only in replace dialoghbr_in wrote:Then why does 'Search / Replace in selected text' appear in find dialog
last I checked, 'Replace with' only appears when I open the 'replace dialog' (Ctrl-H), starting the find dialog (Ctrl-F) has no 'replace with' field.hbr_in wrote:So, if find and find/replace are different then keep it different. Why are u bringing replace word in find dialog.
Ofc I do.hbr_in wrote:If u believe me i have subscribed to CL Mailing list
The best mailing list, is the SVN one, where u will get detailed information about what was changederanif wrote:CL Development build & every other place i can get info abt CL developemnts
Eran
Make sure you have read the HOW TO POST thread