It is a standard OB filter subclassed from OBFilter.  It is added to
OBCodeBrowser metagraph. There are source codes in attachment.

Have a look at OB-Refactory, it uses filters to show elements within
an environment in bold:

displayString: aString forParent: aParentNode child: aNode
        "Display elements that are part of the environment in bold."
        
        ^ (mode = #highlight and: [ aNode withinBrowserEnvironment: environment 
])
                ifTrue: [ Text string: aString attribute: TextEmphasis bold ]
                ifFalse: [ aString ]

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to