User forums > General (but related to Code::Blocks)

The "Insert class method..." dialog

(1/1)

ArKay:
I have to say that I find that dialog pretty useless since it shows hundreds (if not thousands?) of "Known classes" and locating the one I'm interested in is usually next to impossible.  It would be useful if...

a) the list would be sorted

and/or

b) there would be a filter control

ArKay:
I patched it a little (against the svn tree)...

- xrc: wxListBox -> wxLB_HSCROLL|wxLB_NEEDED_SB|wxLB_SORT
- cpp: only show classes / structs which actually have something to implement (at least 1 ctor/dtor/method)

Maybe someone finds this useful. :)

Edit: Attached a usable zipped diff which contains full paths.

[attachment deleted by admin]

Biplab:
Please post this patch at Berlios. :)

ArKay:
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2433&group_id=5358

Navigation

[0] Message Index

Go to full version