Re: PB Lexical Analysis (function popup): How?
Re: PB Lexical Analysis (function popup): How?
- Subject: Re: PB Lexical Analysis (function popup): How?
- From: Nicolás Ojeda Bär <email@hidden>
- Date: Mon, 14 Jan 2002 16:28:20 -0800
Hi,
Exactly. Moreover, I'm also planning to present some kind of dynamic
function browser. I need something that is continuously updated (in the
background). I never used timers, but maybe they are the right tool for this
job?
Thanks a lot,
nob.
>
Re: PB Lexical Analysis (function popup): How?
>
FROM: Andreas Monitzer
>
DATE: 2002-01-14 20:31
>
On Monday, January 14, 2002, at 04:21 , Eric Marshall wrote:
>
>
>> My question is: when and/or how should I run the `parser' procedure to
>
>> stay
>
>> responsive and at the same time be keystroke-actual (meaning that the
>
>> menu
>
>> should be updated exactly as the user types in).
>
>>
>
>> Clearly, this procedure should run in the background (in a separate
>
>> thread I
>
>> imagine).
>
>
>
> One super simple way would be to parse the file when the menu is
>
> requested
>
> to display. No thread maintenance is required, but for large files the
>
> parsing
>
> time may be prohibited. Don't know what you'd want to display in the
>
> menu if
>
> there were syntax errors though :-)
>
>
This would break when using tear-off menus (when they'd implement it
>
again).
>
>
andy