Talk:Nyquist Audio Programming

From Audacity Wiki
Revision as of 09:47, 11 February 2008 by Galeandrews (talk | contribs) (Answer)
Jump to: navigation, search

Edgar wrote: I think I just will use <pre>...</pre> tags. My code lines always are as short as possible (otherwise I won't understand myself) and the wacky "unbreakable" Nyquist plugin header lines will be just simply shortened by me myself to an appropriate length.

OK, as long as the lines are short. I'll change the colours of Code Template anyway (I have an LCD too and even if I stand away from it I can still see the text against the background). It's also odd as I have checked my monitor against a calibration image and it was not very far out....


Gale


In the code template it would also be necessary to let the user specify the text foreground color, because comments must be displayable in a different color than ordinary code. I don't know how much this contradicts the meaning of a template, because if the user can change everything afterwards anyway you don't need a template...

Indeed, I said that text color was a decision to make, but it's a unitary color through the whole template. The user should not change the template really because as you say it is then no longer a template. There could be an alternative template with different text and background colour, if there is some definite opinion on a good colour scheme. Yellow on blue would be high contrast but not I think very popular....:) I'll do just a black on light pink I think like the old code tags, for the main template. You can suggest an alternative if you wish where the text colour is other than black. There is not much choice though (red and blue are not recommended as they are dead and active link colours), hence another reason for the pink choice.

If you are talking about displaying a range of colours in the code box like some text editors do for different types of string, that has to be wait to install an appropriate extension that can do that (or before then the user hard codes the whole thing in a table according to the color scheme they want).


Gale