User forums > Using Code::Blocks
Does doxygen documentation window and parenthesis completion work for you?
Miguel Gimenez:
I mean "it does what it is supposed to do", i.e. code completion inserts the selected function name adding parentheses and shows associated doxygen information if any is available.
Current C::B revision (12198) compiled with wx3.1.3 or wx3.1.4 and running on Windows 7 fails. This means:
- If you write, p.e. print and select printf from the code completion popup, you get printf without parentheses
- If the function is documented with Doxygen, the documentation is not shown.
Miguel Gimenez:
I have bounded the problem with two nightlies:
2019/04/20, SVN11628, wx3.1.1 works
2020/02/08, SVN11957, wx3.1.3 does not work
The ones in between lack the wxWidgets files or crash when starting:
--- Code: ---codeblocks.exe caused a Stack Overflow at location 000000006C5A0A42 in module wxmsw313u_gcc_cb.dll
--- End code ---
This is on Windows 10.
EDIT: SVN11628 works with wx3.1.1, but fails with wx3.1.4
BlueHazzard:
--- Quote ---Keep in mind that there is a big overhaul of the popup code in the wxWidgets we haven't backported, yet.
I started the work, but there were two problems back then - wx2.8 support and compiling some .mm files on macOS.
The former is no longer an issue, the latter still is.
--- End quote ---
Can you point to a source file or commit of wxWidgets? Or any other point i can look for this?
@Miguel Gimenez
Thank you for the testing. So it seems that it is a problem with the popup code on windows past wx3.1.1
Miguel Gimenez:
wxWidgets commit Reimplement wxPopupWindow as a WS_POPUP window under MSW (that went right into wx3.1.2 release) made C::B crash when a popup was about to be shown. This was discussed in ticket 773, https://sourceforge.net/p/codeblocks/tickets/773/
https://github.com/wxWidgets/wxWidgets/commit/56c419116838045f23f046112960d4e42f98f80d
Later NewPagodi restored popup behaviour under MSW with commit Add wxPU_CONTAINS_CONTROLS style for wxPopupWindow
https://github.com/wxWidgets/wxWidgets/commit/07f64c3b75c79b79b46a7e8ac8db585a618c57da
but looks like an event generation (or something similar) was not restored, leaving parentheses generation and documentation popup out of the game.
I have made the bisection between wx3.1.1 and wx3.1.3 using current C::B head, and I have also tested current master just in case; it also fails.
oBFusCATed:
--- Quote from: BlueHazzard on September 09, 2020, 02:33:20 pm ---Can you point to a source file or commit of wxWidgets? Or any other point i can look for this?
--- End quote ---
Nope. git log for the include/stc and src/stc folders in wxWidgets and you'll see it. But the change is massive and it is not the one described by Miguel Gimenez.
--- Quote from: Miguel Gimenez on September 08, 2020, 07:48:54 pm ---I mean "it does what it is supposed to do", i.e. code completion inserts the selected function name adding parentheses and shows associated doxygen information if any is available.
--- End quote ---
"Works" was directed at BlueHazzard, sorry for not being clear about it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version