On 11/18/2013 12:30 PM, Terry Brown wrote:
On Mon, 18 Nov 2013 08:51:21 -0800 (PST)
rengel <[email protected]> wrote:

Hi, I'm pretty new to Leo.

If a larger python file (with classes, methods, etc. as separate headlines)
is shown in the outline pane, is there any way to differentiate their
appearance, i.e. by color, so it would be easier to tell classes from
methods or modules?
Not currently.  I've thought it would be nice to try rule driven node
rendering, but haven't actually done it.

Hmm, I guess thinking about the current styling work, the way to go
would just be to set the QObject name appropriately to make it a viable
target for the stylesheet.  Not quite as flexible as CSS class,
(one value limit) although you can also use arbitrary parameters.

Cheers -Terry

An ugly, time consuming, and manual workaround would be to prepend the headlines with different symbols: † = class, ‡ = method, etc.

-->Jake

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to