The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniWeb Bug Reports (http://forums.omnigroup.com/forumdisplay.php?f=27)
-   -   Source View not obeying colors set in HTML Source Editor (http://forums.omnigroup.com/showthread.php?t=3440)

jashugan 2007-05-02 04:36 PM

Source View not obeying colors set in HTML Source Editor
 
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>[/CODE]

This tag
[CODE]<script language="JavaScript">[/CODE]

and this tag
[CODE]</script>[/CODE]

appear fine, but everything between them is colored black, which makes it very difficult to see in my color scheme.


All times are GMT -8. The time now is 04:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.