How to revert to old Search & Replace dialog?

General questions regarding the usage of CodeLite
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to revert to old Search & Replace dialog?

Post by lifepower »

It seems that CodeLite 9.1.x introduced new "Search & Replace" dialog that appears on bottom and is somehow an addition to previous "Search" dialog.

However, it seems to have some bugs and it does seem to feel like a downgrade from earlier dialog, requiring more effort to do the same tasks as before. Is there an option somewhere to revert back to the previous dialog (fully functional dialog that appeared in its own window)?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by eranif »

You can't. The fastest way is to fix these bugs (and they will get fixed before the next release)
That's the whole idea of weekly builds - to see what was broken ;)

Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by lifepower »

Thanks, looking forward to it! :)
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by eranif »

These bugs are fixed in git master

Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by lifepower »

Thanks, but after pulling latest revision, build breaks with:
[ 59%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/PostgreSqlDbAdapter.cpp.o
[ 59%] Building CXX object git/CMakeFiles/git.dir/git.cpp.o
/data1/dev/codelite/CMakePlugin/CMakeGenerator.cpp: In member function ‘wxString CMakeGenerator::GenerateProject(ProjectPtr, bool, const wxString&)’:
/data1/dev/codelite/CMakePlugin/CMakeGenerator.cpp:264:5: error: ‘for_each’ is not a member of ‘std’
std::for_each(vfiles.begin(), vfiles.end(), [&](const Project::FileInfo& fi) {
^
CMakePlugin/CMakeFiles/CMakePlugin.dir/build.make:302: recipe for target 'CMakePlugin/CMakeFiles/CMakePlugin.dir/CMakeGenerator.cpp.o' failed
make[2]: *** [CMakePlugin/CMakeFiles/CMakePlugin.dir/CMakeGenerator.cpp.o] Error 1
CMakeFiles/Makefile2:1596: recipe for target 'CMakePlugin/CMakeFiles/CMakePlugin.dir/all' failed
make[1]: *** [CMakePlugin/CMakeFiles/CMakePlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/constraint.cpp.o
[ 59%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/workspacesvnsettings.cpp.o
[ 60%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_local_properties.cpp.o
[ 61%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/db_explorer_settings.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitCloneDlg.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion2_ui.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/table.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/SvnInfoDialog.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/view.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/dataviewfilesmodel.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_command_handlers.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_copy_dialog.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/ErdPanel.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitentry.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitSettingsDlg.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_checkout_dialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion2.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitui_git_bitmaps.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/CreateForeignKey.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/GUI_databaseexplorer_bitmaps.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svnxml.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/GitApplyPatchDlg.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/DbSettingDialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/SvnBlameFrame.cpp.o
[ 62%] Linking CXX shared library ../lib/git.so
[ 62%] Built target git
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svncommandhandler.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/AdapterSelectDlg.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/PostgreSqlType.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_login_dialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svnblameeditor.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion_password_db.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/imageexportdialog.cpp.o
[ 63%] Linking CXX shared library ../lib/Subversion.so
[ 63%] Linking CXX shared library ../lib/DatabaseExplorer.so
[ 63%] Built target Subversion
[ 63%] Built target DatabaseExplorer
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Actually, I've encountered this same issue when trying to build CodeLite on another laptop few days ago. The solution was to use an older revision, in my case, #263e924d321e5485e805661aa60b21ce5dd68a0c, which compiles fine.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by eranif »

Should be fixed now
Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to revert to old Search & Replace dialog?

Post by lifepower »

Everything seems to work now, many thanks!
Post Reply