Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Patch for codeblocks 20.03 adding multi columns in memory dump

<< < (3/9) > >>

oBFusCATed:

--- Quote from: MicroSourceCode on February 14, 2021, 10:05:28 am ---What new things are planned to be added to codeblocks? What is the development strategy of the program?

--- End quote ---
We're not an organisation, so there is no common plan/goal. We're just separate developers working on whatever everybody likes.

MicroSourceCode:
On monitor 1920x1080, fonts in debugger windows very small, how temp solution I insert everywhere:

int FontSize = c->ReadInt(wxT("/common/font_size_dialog"), 10);
    wxFont font(FontSize, wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
    m_pText->SetFont(font);                                           

Is there any other solution?
 

oBFusCATed:
What is wxT("/common/font_size_dialog")?

oBFusCATed:

--- Quote from: oBFusCATed on February 14, 2021, 01:19:07 am ---Because they are expensive? I think you've requested it this way.
I'm not sure memory watches and examine memory should be treated the same way using the same API, but I might be wrong.

--- End quote ---

@bluehazzard: Another reason might be that the request update is expected to come from the UI. Somewhere in your plugin you'll have to probably request an update when you detect that the cursor has changed.

MicroSourceCode:

--- Quote from: oBFusCATed on February 14, 2021, 02:27:21 pm ---What is wxT("/common/font_size_dialog")?

--- End quote ---

This custom option in default.conf

<debugger_common>
                <common>
                        <disassembly>
                                <MIXED_MODE bool="0" />
                        </disassembly>
                        <examine_memory>
                                <SIZE_TO_SHOW int="128" />
                                <COLUMNS_TO_SHOW int="10" />
                        </examine_memory>
                        <AUTO_BUILD bool="1" />
                        <AUTO_SWITCH_FRAME bool="1" />
                        <DEBUG_LOG bool="0" />
                        <JUMP_ON_DOUBLE_CLICK bool="0" />
                        <REQUIRE_CTRL_FOR_TOOLTIPS bool="0" />
                        <PERSPECTIVE int="2" />
                        <FONT_SIZE_DIALOG int="14" />
                </common>

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version