[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>
&nbsp;<BR>
&nbsp;*ar { <span style="color: #0000C0">arg</span> mul = 1.0, add = 0.0;<BR> &nbsp;&nbsp;^<span style="color: #0000C0">this</span>.multiChannelPerform(<span
	style="color: #007000">'ar1'</span>, mul, add)<BR>
&nbsp;}<BR>
&nbsp;*kr { <span style="color: #0000C0">arg</span> mul = 1.0, add = 0.0;<BR> &nbsp;&nbsp;^<span style="color: #0000C0">this</span>.multiChannelPerform(<span
	style="color: #007000">'kr1'</span>, mul, add)<BR>
&nbsp;}<BR>
&nbsp;*ar1 { <span style="color: #0000C0">arg</span> mul = 1.0, add = 0.0;<BR>
&nbsp;&nbsp;^super.ar1.init(mul, add)<BR>
&nbsp;}<BR>
&nbsp;*kr1 { <span style="color: #0000C0">arg</span> mul = 1.0, add = 0.0;<BR>
&nbsp;&nbsp;^super.kr1.init(mul, add)<BR>
&nbsp;}<BR>
&nbsp;<BR>
}</P>


Not a format I'd want to be editing directly.