• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PB Lexical Analysis (function popup): How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PB Lexical Analysis (function popup): How?


  • Subject: Re: PB Lexical Analysis (function popup): How?
  • From: Andreas Monitzer <email@hidden>
  • Date: Mon, 14 Jan 2002 20:31:28 +0100

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


  • Follow-Ups:
    • Re: PB Lexical Analysis (function popup): How?
      • From: Ondra Cada <email@hidden>
References: 
 >Re: PB Lexical Analysis (function popup): How? (From: Eric Marshall <email@hidden>)

  • Prev by Date: Re: Where Does Application Name Come From?
  • Next by Date: Re: Database
  • Previous by thread: Re: PB Lexical Analysis (function popup): How?
  • Next by thread: Re: PB Lexical Analysis (function popup): How?
  • Index(es):
    • Date
    • Thread