Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 19930: /trunk/ /trunk/gtk/: main.c /

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Sun, 19 Nov 2006 15:32:51 -0800
Stephen Fisher wrote:
> On Sat, Nov 18, 2006 at 05:17:29PM +0000, gerald@xxxxxxxxxxxxx wrote:
> 
>> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19930
>>
>> User: gerald
>> Date: 2006/11/18 05:17 PM
>>
>> Log:
>>  If the user starts typing ([a-zA-Z0-9]) anywhere in the main window, start
>>  filling in a display filter.
> 
> Is it possible to include other display filter characters such as !() in 
> this check?

I added '!' and '(', since a valid display filter won't start with ')'.

If the display filter entry is out of focus, the current code starts a
new filter when you start typing.  Should we set the insertion point to
the end of the filter instead, so that typing appends to the current filter?