[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] [Comments?]XML doc? Fwd: html doc
On Feb 13, 2004, at 2:04 AM, James McCartney wrote:
Or switch to the HTML source and edit that - not very interactive -
and if the text is syntax colored there will be so many tags embedded
in it that it will be nearly impossible to edit. You'd need a tool to
generate the html from a third representation.
For example here is the WhiteNoise class source code, syntax colorized
in HTML:
<span style="color: #0000C0">WhiteNoise</span> : <span style="color:
#0000C0">UGen</span>
{<BR>
<BR>
*ar { <span style="color: #0000C0">arg</span> mul = 1.0, add =
0.0;<BR>
^<span style="color:
#0000C0">this</span>.multiChannelPerform(<span
style="color: #007000">'ar1'</span>, mul, add)<BR>
}<BR>
*kr { <span style="color: #0000C0">arg</span> mul = 1.0, add =
0.0;<BR>
^<span style="color:
#0000C0">this</span>.multiChannelPerform(<span
style="color: #007000">'kr1'</span>, mul, add)<BR>
}<BR>
*ar1 { <span style="color: #0000C0">arg</span> mul = 1.0, add =
0.0;<BR>
^super.ar1.init(mul, add)<BR>
}<BR>
*kr1 { <span style="color: #0000C0">arg</span> mul = 1.0, add =
0.0;<BR>
^super.kr1.init(mul, add)<BR>
}<BR>
<BR>
}</P>
Not a format I'd want to be editing directly.