The node appearance tweaking plugin I'd like to find time to write would inspect each node and modify aspects of its appearance based on what it finds. Inputs would include:
* content of headstring * maybe content of bodystring * uA attributes of the node * prompted by Steve's email below, perhaps depth in the tree and similar too Things that could be modified include: * fore/background color of the node * apparent text of the headline, real text to reappear on editing * icons displayed for the node * font/bold/etc. for the headline of the node So there'd be some sort of simple rule language for matching input conditions and specifying modifications. Nothing too complicated. Steve - the colorize_headlines.py plugin already exists, but it's just a demonstration of technique, all it actually does is make @thin, @shadow, @auto nodes etc. bold. Cheers -Terry Begin forwarded message: Date: Fri, 13 Aug 2010 07:10:57 -0700 (PDT) From: Steve Allen <[email protected]> To: Terry Brown <[email protected]> Subject: Re: ToDo.py no longer has option to colorize nodes; alternatives? Terry, you're comment on colorizing nodes based on regular expressions made be wonder: is it possible to "dynamically" change the look of a header node? In particular, is it possible (for instance) to make the text of any header node that has child node(s) bold and to have a slightly larger font? BTW, I didn't come up with that idea; this is how MS Project works when your start creating tasks in the "outline mode". It really looks nice and makes the "Parent" (container) task really pop out. I mostly use Leo as a PIM, so this wouldn't be of much interest to the Leo-programmer crowd, but for people who use Leo as an outliner, this might be of interest. And as I'm writing this, it got me thinking about other possibilities: would it be possible to dynamically "number" the nodes, like: I. blah-blah A) blah-blah B) blah-blah 1. blah blah 2. blah blah This might also increase Leo's value as an outliner. Thoughts? On Aug 12, 9:29 pm, Terry Brown <[email protected]> wrote: > I've been thinking about one that colors nodes based on regex patterns - i.e. > based on the content of the headline (and maybe > body) rather than you > explicitly telling it "color this node this color". Would that approach work > for you, or are you looking for > the explicit color setting? > > Cheers -Terry ----------------------------------------------------------------------- Terry Brown Natural Resources Research Institute Ph.D. Research Associate 5013 Miller Trunk Highway [email protected] University of Minnesota, Duluth Ph. 218 720 4345 Duluth, Minnesota 55811 Fax 218 720 4328 http://umn.edu/~tbrown2 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
