• 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
PB Lexical Analysis (function popup): How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PB Lexical Analysis (function popup): How?


  • Subject: PB Lexical Analysis (function popup): How?
  • From: Nicolas Ojeda Bar <email@hidden>
  • Date: Mon, 14 Jan 2002 10:44:51 -0300

Hi!

I am (trying) to write a text editor for a little programming language I
invented.

Now I want to have a menu in the document's window containing the names of
all routines typed in the file and allowing instant jumping to the point
where they are defined.

I am almost finishing the structure parser that would give me all the
necessary information that I would need to implement this.

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).

Now, this is the exact same feature that Project Builder and CodeWarrior
have and I would love to hear from any one who has any kind of info or
advice as to how to implement this, especially PB engineers ;)!

Best regards,
nob.


  • Follow-Ups:
    • Re: PB Lexical Analysis (function popup): How?
      • From: Paul Lalonde <email@hidden>
  • Prev by Date: Re: Setting global umask
  • Next by Date: Re: cocoa-dev digest, Vol 2 #11 - 16 msgs
  • Previous by thread: Re: Get screen size
  • Next by thread: Re: PB Lexical Analysis (function popup): How?
  • Index(es):
    • Date
    • Thread