Re: "Skip this Input cell" module?
- To: mathgroup at smc.vnet.net
- Subject: [mg68808] Re: "Skip this Input cell" module?
- From: AES <siegman at stanford.edu>
- Date: Sat, 19 Aug 2006 00:41:16 -0400 (EDT)
- Organization: Stanford University
- References: <firstname.lastname@example.org> <email@example.com>
- Sender: owner-wri-mathgroup at wolfram.com
In article <ec3q9g$2fs$1 at smc.vnet.net>, albert <awnl at arcor.de> wrote: > Another approach that I probably would use > is to define a stylesheet which has a style UnevaluatableInput which is > just like Input but will have Evaluatable set to False an maybe change the > layout of those cells so you don't have to search for differences in cell > brackets. YES!! Exactly what I'd also thought of doing since I first raised this query ("Great minds . . ." and all that). My idea would be to redefine and rename the Small Text style for this purpose, since (a) I never use that style for anything else, and (b) its command key is cmd-8, which is right above cmd-9 for Input cells, which would make it easy to remember. The redefinition would be to just copy the Input style definitions to replace the Small Text definitions in the stylesheet; rename that style as NonInput; set Evaluatable to False; and add a light background shading or similar visual cue, so that the NonInput cells would look exactly like Input cells except for that light shading. A potentially useful feature would be that one could toggle these NonInput cells to Input cells globally by globally selecting all the NonInput cells using Option-click and changing their style. The downside would be that this "toggling" could not be reversed (though one could globally select at the Input cells; convert them all to NonInput; then convert the essential ones back to Input).