[plt-scheme] drscheme syntax coloring in normal editing?

From: Scott Owens (sowens at cs.utah.edu)
Date: Fri Jun 27 23:13:33 EDT 2003

My motivation isn't Scheme but ML and Java, so I'm most certainly going 
for emacs-mode functionality and not check syntax functionality.  My 
basic idea is to lex the buffer and incrementally update the tokens.  
This will never be wrong, but the cost of inserting/deleting a string 
or block comment delimiter could be very high.  I think a separate 
thread would be the best solution, but I'm not sure how to implement 
that in a safe way for the text%.  If that fails then limiting the work 
to the next few/previous lines should be a workable solution.

-Scott

BTW, this project is made possible by the new editor modes.


On Friday, June 27, 2003, at 07:14  PM, Robby Findler wrote:

> At Fri, 27 Jun 2003 18:22:19 -0600, Scott Owens wrote:
>> Actually, I hope to implement this in the next few weeks.
>
> Mind sharing some details of how it will work? Do you have a
> replacement for the paren matcher? Do you use a background thread? Is
> your algorithm ever wrong? How do you handle macros?
>
> Robby



Posted on the users mailing list.