Re: [Cgdb-devel] Weird behavior during file-dialog regex search?
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bo...@br...> - 2010-11-11 03:24:35
|
On Thu, Oct 28, 2010 at 10:05:15AM +0200, Gilboa Davara wrote: > Hello, > > I'm trying to solve a bug in Fedora version of CGDB (which I maintain). > When doing a regular expression search inside the file selection dialog, > pressing enter does not select the file, instead, it simply jumps to the > next match. > The only way to select the first matching file is to press Enter twice. > > By looking at the code (capture_regex in filedlg.c) it seems that > pressing Enter triggers a search for the next match, instead of simply > selecting the last highlight. > Given the fact that cgdb is doing regex-as-you-type search, shouldn't > cgdb assume that once I press enter, as-you-type search already > highlighted the last match? OK, that is a really annoying bug, I don't know how I haven't seen this before. Thanks. I'll have to figure out how to fix this for the next release. Bob |