User forums > Using Code::Blocks

Open files list single click

(1/2) > >>

Krice:
I think open files list would work better if it had single click select to choose the source file rather than double click. It's driving me crazy to have to double click to view the file, I guess mainly because how it's implemented in Visual Studio (the right way). I tried to search if anyone had mentioned this, but no one, really? Also, Visual Studio doesn't even show tabs for files, because if you have them in the list it's not needed, because you can just select the file from the list. I'm using 20.03.

Grit Clef:
It is this code in src/plugins/openfileslist/openfileslistplugin.cpp which handles that event:

--- Code: ---EVT_TREE_ITEM_ACTIVATED(idOpenFilesTree, OpenFilesListPlugin::OnTreeItemActivated)

--- End code ---
But there's no such event that will be triggered when the item is single-clicked in wxTreeEvent.
Probably this thread.

Krice:
So it's possible or not? Is wxWidgets blocking this too, like it always does?

Grit Clef:
Maybe possible; that depends on whether the devs will accept adding some extra code in the source.

Krice:
Source code for open files list is short, but when I was reading it I was surprised that it has almost no comments explaining what the code does. Bad developers! Trying to understand wxWidgets antics is annoying, it's just so wacky style of programming.

Navigation

[0] Message Index

[#] Next page

Go to full version