[plt-scheme] Re: Newbie question: Why "orange text, black background" after Run?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Feb 16 07:54:04 EST 2009

I believe it cannot be disabled for the teaching languages.

I've added a little bit of explanation to the teaching languages
manuals. Below is the raw source text for that. Comments welcome.


The languages documented in this manual are provided by DrScheme to be
used with the @italic{@link["http://www.htdp.org/"]{How to Design
Programs}} book.

When programs in these languages are run in DrScheme, any part of the
program that was not run is highlighted in orange and black. These
colors are intended to give the programmer feedback about the parts of
the program that have not been tested. To avoid seeing these colors,
use @scheme[check-expect] to test your program. Of course, just
because you see no colors, does not mean that your program has been
fully tested; it simply means that each part of the program been run
(at least once).

On Mon, Feb 16, 2009 at 12:36 AM, Gregg Williams <spamme at innerpaths.net> wrote:
> Thanks for the explanatory message you sent recently. Attempting to
> follow your instructions, I executed the menu item Language > Choose
> Language..., which gave me a list of languages and the parameters that
> can be changed. For the "Advanced Student" language (which is what I
> was using), here are the parameters that I can change: case-sensitive;
> output style = constructor/quasiquote/write; fraction style = mixed
> fractions/repeating decimals; checkbox: insert new lines in printed
> values; checkbox: show sharing in values. However, I don't see
> anything that allows me to turn this highlighting feature off.
> Searching for "coverage" in the Help Desk documentation leads me to
> the "Errortrace: Debugging and Profiling" document, but I don't find
> anything that looks useful here, either.
> Finally, I read Andrei Estioco's comment and see now that the orange/
> black highlighting goes away for whatever lines of code that get
> "exercised" when you execute code from the bottom panel, thus showing
> you the parts of your code that (so far, at least) have not gotten
> "coverage." This is a useful feature, but I've not found any
> documentation for how to control it.
> If you (or anyone else) could point us newcomers to some relevant
> documentation, we would certainly appreciate it. Thanks.
> --Gregg
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.