View Single Post
Hello,

I have set light on dark colors in the HTML Source View Preferences. However embedded javascript code does not follow the color rules for normal text or preformatted text.

Code:
<script language="JavaScript">
	function textCounter(field, countfield, maxlimit) 
	{
		if (field.value.length > maxlimit) 
		{
			//Trim it
			field.value = field.value.substring(0, maxlimit);
		}
		else
		{ 
			countfield.value = maxlimit - field.value.length;
		}
	}
</script>
This tag
Code:
<script language="JavaScript">
and this tag
Code:
</script>
appear fine, but everything between them is colored black, which makes it very difficult to see in my color scheme.