patches

David Nolden david.nolden.kdevelop at art-master.de
Fri Apr 14 02:28:09 UTC 2006


Ok, now I'm sending the patch. Today I've worked on an additional thing:
I've created a ListViewItem that can show different fonts within one item, and 
used it to highlight the function-name in the class-view and in the 
navigator. Both look a lot nicer now, and allow more overview. :)

The source-files I'm sending need to go into parts/classview/, and you also 
can delete kde_inspect.py, since kde_pydoc.py doesn't use it anymore!


[I can't pack the patch smaller than 15 KB, which is the limit of the list, so 
I've sent it to Matt Rogers directly, but whoever wants it can have it, 
though I hope it will find its direct way to the svn :) ]

greetings, David


Am Donnerstag, 13. April 2006 01:34 schrieb Matt Rogers:
> On Wednesday 12 April 2006 17:40, David Nolden wrote:
> > Hey, I've sent a mail with some patches and because the patch-file is >
> > 100 kb(because of the pydoc-kioslave) it is waiting for moderator
> > approval, would be nice if someone could let it through :-)
> >
> > Although I'm already further than described in that mail..
> >
> > I have now addressed the browsing-functionality.
> >
> > Quote from the other mail:
> > > I've done some work again :)
> > >
> > > This time I've addressed the quick-open functions and the
> > > class-tree-view. Until now these facilities were too seperated. If you
> > > want to get fast to a special class in a big project, you either have
> > > to walk through the tree by hand searching it, or use the quick-find,
> > > compromising overview.
> > >
> > > I've linked them together. If you quick-find a class, it is opened,
> > > selected, and showed in the tree-view(if that's open), and the same for
> > > functions. This gives a you much better overview of the position you've
> > > jumped to, and makes it much easier to navigate through a big project.
> > > Thereby you now can search the classview-tree.
> > >
> > > I hope you like the feature..
> > >
> > > Also I've changed the find-function-dialog a bit, it now also shows the
> > > scope of the function(making them easier to identify).
> >
> > Now I'm yet further:
> > I also work on a big project for my university where it's usual to
> > declare classes and whole trees of classes in the following way:
> >
> > class A {
> > 	...
> > 	class B;
> > }
> >
> > //in another source-file:
> > class A::B {
> > 	...
> > }
> >
> > The cpp-parser was not able to deal with that.. it was quite some work to
> > get it running(the whole code around that isn't very clear for a
> > kdevelop-newbie ;) ) but now I've got it working.
> >
> > Also I've further advanced the quick-open-file-function:
> > In the text-field it is now possible to filter the list for namespaces or
> > parent-classes, for Example
> > Speech::bla
> > shows just all functions that have a namespace or class in their scope
> > called Speech and contain the word "bla"
> > Or
> > Speech::StateTree::bla
> > shows all functions that have a namespace or class called Speech, and a
> > deeper namespace/class called StateTree in their scope, etc.
> > And of course as described in the quote, when a function is selected and
> > the class-view is open, not just the editor jumps to the function, but
> > also the class-view shows the functions.
> >
> > So tell me what you think about those things. :)
> >
> > In my opinion, browsing is a lot more fun in this mode ;)
> >
> > A problem is that for me(I use the KDE/3.5 branch) a few of the things
> > I've sent before, like the pydoc-kioslave don't seem to be in the branch
> > from my perspective, so my
> > output of svn diff is pretty big, too big to post it here without the
> > mail ending in the black hole called "administrator review" ;)
> >
> > greetings, David
>
> please send me the patch and i will commit it if it's good
>
> Thanks
> --
> Matt
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel




More information about the KDevelop-devel mailing list