Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: ArKay on April 01, 2008, 04:21:12 pm

Title: The "Insert class method..." dialog
Post by: ArKay on April 01, 2008, 04:21:12 pm
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
Title: Re: The "Insert class method..." dialog
Post by: ArKay on April 05, 2008, 05:19:30 pm
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]
Title: Re: The "Insert class method..." dialog
Post by: Biplab on April 05, 2008, 05:30:29 pm
Please post this patch at Berlios. :)
Title: Re: The "Insert class method..." dialog
Post by: ArKay on April 05, 2008, 05:53:42 pm
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2433&group_id=5358