[PATCH] Last searched items in grep view

Andreas Pakulat apaku at gmx.de
Tue May 5 23:37:15 UTC 2009


On 06.05.09 01:13:45, Christoph Bartoschek wrote:
> 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.

Will have a closer look tomorrow.
 
> 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?

Yes, please fix that :)

I do have some todo items noted somewhere (IIRC either in bugzilla -
kdevelop/grepview or on the feature list for kdevelop4) in case you're
curious what else the grepview is lacking (for example better project
support) :)

Andreas

-- 
You will live a long, healthy, happy life and make bags of money.




More information about the KDevelop-devel mailing list