News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Replace Dialog

Started by Wahooney, May 09, 2007, 12:34:24 PM

Previous topic - Next topic

Wahooney

Is any work being officially done on the Replace Dialog?

I am in the process of reworking the interface and I just want to know if someone in a more official capacity has already started making any changes for a future version?

Thanks.
Fabricati Diem, Celerata!

dmoore

i'm not a dev, but i don't think anyone has anything major planned except bug fixing (check the bug list). what are you planning?
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

Wahooney

Basically streamlining the whole experience.

Primarily I would like to remove the second dialog the pops up after you click the Replace button and have the Replace, Find Next and Replace All options in the one dialog. The dialog will also be made non-modal The Replace in Files will also be removed and integrated into the one page and a button will be created next to each input field of the dialog allowing quick access to common RegEx commands. I was thinking that perhaps it will be useful to make the dialog dockable for those lonf Find and Replace sessions that sometimes happen.

Once all these changes have been made I will submit a patch to the main devs for integration into the SVN, if it proves worthy, and I hope everyone will benefit from the changes.

I'll post a screen shot of the proposed changes asap.
Fabricati Diem, Celerata!

Ceniza

Wahooney: the dockable find and replace dialog sounds nice. I'll be waiting for the screenshots :wink:

dmoore

sounds great but... why don't you implement as a plugin first? might need to check whether the plugin architecture gives you sufficient access to the bits you need to hook into. you can certainly do the dockables
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

mitsukai

seems quite useless to me... i like it how it is now.
the replace dialog is very big, and when replacing its nice to see what u are replacing without the dialog on top of it.
so right now i think its perfect.

kelo81

Quote from: mitsukai on May 11, 2007, 02:27:00 PM
seems quite useless to me...

Not for me!, I really like Wahooney's idea!!

Quote from: mitsukai on May 11, 2007, 02:27:00 PM
so right now i think its perfect.

The extensions is really nice as it, but far from perfect for me!, a lot of things may be improved, just by unifiyng the menu options "Search" and "Replace" will be more user-friendly I think.

Wahooney, you have a really nice project in your hands, keep it that way!!
Ezequiel Ruiz
Tango/04 consultant
www.tango04.com

Wahooney

Ok, this is probably not going to fill you guys with hope, but I've hit a rather major snag...

How the hell do I compile Code::Blocks from the SVN source?

I open the codeblocks.cbp file, it asks for the wx Global Variable, and I point it to my wxWidgets2.6.3 folder. Up until this point it's all good, but when I compile it, it carries on alright until it hits this:


-------------- Build: scintilla in Code::Blocks ---------------
Compiling: sdk\wxscintilla\src\PlatWX.cpp
In file included from C:/wxWidgets-2.8.3/include/wx/defs.h:21,
                 from C:/wxWidgets-2.8.3/include/wx/wx.h:15,
                 from E:\Online SC Projects\CodeBlocks\src\sdk\wxscintilla\src\PlatWX.cpp:9:
C:/wxWidgets-2.8.3/include/wx/platform.h:196:22: wx/setup.h: No such file or directory
In file included from C:/wxWidgets-2.8.3/include/wx/platform.h:279,
                 from C:/wxWidgets-2.8.3/include/wx/defs.h:21,
                 from C:/wxWidgets-2.8.3/include/wx/wx.h:15,
                 from E:\Online SC Projects\CodeBlocks\src\sdk\wxscintilla\src\PlatWX.cpp:9:
C:/wxWidgets-2.8.3/include/wx/chkconf.h:98:9: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:106:9: #error "wxUSE_EXCEPTIONS must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:114:9: #error "wxUSE_FILESYSTEM must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:122:9: #error "wxUSE_FS_ARCHIVE must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:135:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:143:9: #error "wxUSE_LOG must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:151:9: #error "wxUSE_LONGLONG must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:159:9: #error "wxUSE_MIMETYPE must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:175:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:183:9: #error "wxUSE_PROTOCOL must be defined."
C:/wxWidgets-2.8.3/include/wx/chkconf.h:225:9: #error "wxUSE_REGEX must be defined."
etc... etc...


The coding part is easy, getting the bloody thing to compile is a different story.

Thanks guys.
Fabricati Diem, Celerata!

TDragon

Make sure the directory "C:\wxWidgets-2.8.3\lib\gcc_dll\mswu" exists. If it doesn't, you'll have to recompile the correct version of wxWidgets:

cd \wxWidgets-2.8.3\build\msw
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Wahooney

It's building! BUILDING! Oh, what a world!

Look out Code::Blocks, here comes the Wahooney  :twisted:

Thanks, TDragon!
Fabricati Diem, Celerata!