User forums > Nightly builds

The 20 November 2016 build (10922) is out.

<< < (9/10) > >>

darmar:
It seems, that C::B experiencing problems in calltips with highlighting of current variable on Windows.

Some more explanation: current variable under cursor should be highlighted. However on a new system (I mean, default settings of C::B) the calltips are displayed in a single black color. The user can change the color for the calltips on Settings->Environment->Colours. It works. However a new user should find it first.

You can test this problem, by temporally renaming your C::B settings folder on "C:Users\YourName\AppData\Roaming\CodeBlocks" (it is hidden folder) and starting C::B.

I looked for this problem. I think, I found: in file C::B/src/sdk/ccmanager.cpp on lines 292 and 293, Calltips foreground is defined as "DimGray, while Calltips background is defined as "DarkBlue". Problem, that on Windows there are no such colors predefined. Changin them to "GRAY" and "BLUE", solve the problem.

Before: lines 292-293

--- Code: ---    cmgr->RegisterColour(_("Code completion"), _("Tooltip/Calltip foreground"), wxT("cc_tips_fore"),      wxColour(wxT("DimGrey")));
    cmgr->RegisterColour(_("Code completion"), _("Tooltip/Calltip highlight"),  wxT("cc_tips_highlight"), wxColour(wxT("DarkBlue")));

--- End code ---

Chage to:


--- Code: ---
    cmgr->RegisterColour(_("Code completion"), _("Tooltip/Calltip foreground"), wxT("cc_tips_fore"),      wxColour(wxT("GRAY")));
    cmgr->RegisterColour(_("Code completion"), _("Tooltip/Calltip highlight"),  wxT("cc_tips_highlight"), wxColour(wxT("BLUE")));

--- End code ---

I did not experience this problem on Linux. I guess, that these colors are predefined on Linux.

oBFusCATed:
Can you post a patch?

darmar:
The patch is attached. I used "BLUE" and "DIM GREY" colors from http://docs.wxwidgets.org/3.1/classwx_colour_database.html

killerbot:
An updated wx dll, to avoid the compiler optimization bug.


A link to the unicode windows wxWidget dll for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc510-TDM-2.7z

Note the '-2'.

Melchior:
nice updates ^_^
why no main updates of CB since this  Nov update? :o ???

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version