[PATCH] Last searched items in grep view

Christoph Bartoschek bartoschek at or.uni-bonn.de
Tue May 5 23:13:45 UTC 2009


Hi,

I have made a small patch that fixes a bug in grep view that always bothered 
me. To get the last searched item one has to pres Down and then Up. With this 
patch one always gets the last searched item via one press of Down. To achieve 
this this patch:

- Always stores the last used pattern in front of all others.
- Adds an empty item in front of the last used ones for the new search.

I hope you can apply it.

There is another thing that bothers me in the new grep view from kdevelop 4. 
It does not remember the last used directory for the search. I could write a 
small patch that fixes this, but the code looks as if the current behaviour is 
intentional. What do you think about it?

Christoph


-------------- next part --------------
A non-text attachment was scrubbed...
Name: grepview.patch
Type: text/x-patch
Size: 2226 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090506/b891b50a/attachment.patch>


More information about the KDevelop-devel mailing list