« It's Late | Main | Taco HTML Edit Progress Report »

February 28, 2004

The Sleep is not Dead

I slept a lot last night. This was after my third week in a row of averaging about 5 hours of sleep per night. I don't have very much homework this weekend, which is nice. I have been working on Taco HTML Edit a little, and I'm running into some issues where I might have to make a compromise. Basically the syntax checker is spending about 10% of its time actually checking syntax, and 90% of the time marking code so that it can be selected for the user to find the syntax error. This relates to inefficiencies (at least for my purposes; but remember, these things have to be robust for everyone's purposed) in the underlying APIs (to be specific, the NSTextStorage class). I could eliminate this 90% by making a copy of the text to show the errors to the user, but the user would not be able to edit this copy. I don't believe that subclassing NSTextStorage is a reasonable option. Hopefully, I can find a better solution.

Posted by Raj Doshi at February 28, 2004 4:38 AM