From fdfa5bf134ce215e9b4aac01defe62680acba78a Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Wed, 31 Oct 2012 10:14:39 -0500 Subject: [PATCH] add docs for get-spell-check-strings and set-spell-check-strings --- collects/scribblings/framework/color.scrbl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/collects/scribblings/framework/color.scrbl b/collects/scribblings/framework/color.scrbl index 646e96c994..4407978c3c 100644 --- a/collects/scribblings/framework/color.scrbl +++ b/collects/scribblings/framework/color.scrbl @@ -154,6 +154,17 @@ Sets the currently active regions to be @racket[regions]. } + + @defmethod[(get-spell-check-strings) boolean?]{ + Returns @racket[#t] if the colorer will attempt to + spell-check string constants. + } + + @defmethod[(set-spell-check-strings [b? boolean?]) void?]{ + If called with @racket[#t], tell the colorer to spell-check + string constants. Otherwise, disable spell-checking of constants. + } + @defmethod*[(((get-regions) (listof (list/c number? (or/c (quote end) number?)))))]{ This returns the list of regions that are currently being colored in the editor.