From c830b5a1bcde45353a3c5e585fe60fc4c3df2c89 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 8 Feb 2011 17:28:01 -0600 Subject: [PATCH] changed the module lexer's strategy to be able to handle the part of the buffer before the #lang line properly closes PR 11381 original commit: d659d2f0afe8b0d8711f58d7b6761ed9dcd48e62 --- collects/framework/private/color.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collects/framework/private/color.rkt b/collects/framework/private/color.rkt index 1ade5b4e..4120e3aa 100644 --- a/collects/framework/private/color.rkt +++ b/collects/framework/private/color.rkt @@ -320,7 +320,7 @@ added get-regions (sp (+ in-start-pos (sub1 new-token-start))) (ep (+ in-start-pos (sub1 new-token-end)))) (λ () - (change-style color sp ep #f))) + (change-style color sp ep #f))) colors))) ;; Using the non-spec version takes 3 times as long as the spec ;; version. In other words, the new greatly outweighs the tree