Author: nbelaevski
Date: 2008-03-26 16:51:48 -0400 (Wed, 26 Mar 2008)
New Revision: 7280
Added:
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.xcss
Removed:
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.css
Modified:
trunk/ui/insert/src/main/templates/org/richfaces/ui/htmlInsert.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2718
Deleted:
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.css
===================================================================
---
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.css 2008-03-26
20:44:07 UTC (rev 7279)
+++
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.css 2008-03-26
20:51:48 UTC (rev 7280)
@@ -1,140 +0,0 @@
-.java_plain {
- color: rgb(0,0,0);
-}
-.java_keyword {
-
- color: rgb(0,0,0);
- font-weight: bold;
-}
-.java_type {
-
- color: rgb(0,44,221);
-}
-.java_operator {
-
- color: rgb(0,124,31);
-}
-.java_separator {
-
- color: rgb(0,33,255);
-}
-.java_literal {
-
- color: rgb(188,0,0);
-}
-.java_comment {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
-}
-.java_javadoc_comment {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
- font-style: italic;
-}
-.java_javadoc_tag {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
- font-style: italic;
- font-weight: bold;
-}
-.xml_plain {
-
- color: rgb(0,0,0);
-}
-.xml_char_data {
-
- color: rgb(0,0,0);
-}
-.xml_tag_symbols {
-
- color: rgb(0,59,255);
-}
-.xml_comment {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
-}
-.xml_attribute_value {
-
- color: rgb(193,0,0);
-}
-.xml_attribute_name {
-
- color: rgb(0,0,0);
- font-weight: bold;
-}
-.xml_processing_instruction {
-
- color: rgb(0,0,0);
- font-weight: bold;
- font-style: italic;
-}
-.xml_tag_name {
-
- color: rgb(0,55,255);
-}
-.xml_rife_tag {
-
- color: rgb(0,0,0);
- background-color: rgb(228,230,160);
-}
-.xml_rife_name {
-
- color: rgb(0,0,196);
- background-color: rgb(228,230,160);
-}
-.cpp_plain {
-
- color: rgb(0,0,0);
-}
-.cpp_keyword {
-
- color: rgb(0,0,0);
- font-weight: bold;
-}
-.cpp_type {
-
- color: rgb(0,44,221);
-}
-.cpp_operator {
-
- color: rgb(0,124,31);
-}
-.cpp_separator {
-
- color: rgb(0,33,255);
-}
-.cpp_literal {
-
- color: rgb(188,0,0);
-}
-.cpp_comment {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
-}
-.cpp_doxygen_comment {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
- font-style: italic;
-}
-.cpp_doxygen_tag {
-
- color: rgb(147,147,147);
- background-color: rgb(247,247,247);
- font-style: italic;
- font-weight: bold;
-}
-.cpp_preproc {
-
- color: purple;
-}
-
-.dr-insert-error {
- color: red;
- font-weight: bold;
-}
\ No newline at end of file
Copied:
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.xcss
(from rev 7242,
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.css)
===================================================================
--- trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.xcss
(rev 0)
+++
trunk/ui/insert/src/main/resources/org/richfaces/ui/renderkit/html/css/highlight.xcss 2008-03-26
20:51:48 UTC (rev 7280)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+
xmlns:f="http://jsf.exadel.com/template"
+
xmlns:u="http://jsf.exadel.com/template/util"
+
xmlns="http://www.w3.org/1999/xhtml">
+
+<f:verbatim>
+<![CDATA[
+
+.java_plain {
+ color: rgb(0,0,0);
+}
+.java_keyword {
+
+ color: rgb(0,0,0);
+ font-weight: bold;
+}
+.java_type {
+
+ color: rgb(0,44,221);
+}
+.java_operator {
+
+ color: rgb(0,124,31);
+}
+.java_separator {
+
+ color: rgb(0,33,255);
+}
+.java_literal {
+
+ color: rgb(188,0,0);
+}
+.java_comment {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+}
+.java_javadoc_comment {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+ font-style: italic;
+}
+.java_javadoc_tag {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+ font-style: italic;
+ font-weight: bold;
+}
+.xml_plain {
+
+ color: rgb(0,0,0);
+}
+.xml_char_data {
+
+ color: rgb(0,0,0);
+}
+.xml_tag_symbols {
+
+ color: rgb(0,59,255);
+}
+.xml_comment {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+}
+.xml_attribute_value {
+
+ color: rgb(193,0,0);
+}
+.xml_attribute_name {
+
+ color: rgb(0,0,0);
+ font-weight: bold;
+}
+.xml_processing_instruction {
+
+ color: rgb(0,0,0);
+ font-weight: bold;
+ font-style: italic;
+}
+.xml_tag_name {
+
+ color: rgb(0,55,255);
+}
+.xml_rife_tag {
+
+ color: rgb(0,0,0);
+ background-color: rgb(228,230,160);
+}
+.xml_rife_name {
+
+ color: rgb(0,0,196);
+ background-color: rgb(228,230,160);
+}
+.cpp_plain {
+
+ color: rgb(0,0,0);
+}
+.cpp_keyword {
+
+ color: rgb(0,0,0);
+ font-weight: bold;
+}
+.cpp_type {
+
+ color: rgb(0,44,221);
+}
+.cpp_operator {
+
+ color: rgb(0,124,31);
+}
+.cpp_separator {
+
+ color: rgb(0,33,255);
+}
+.cpp_literal {
+
+ color: rgb(188,0,0);
+}
+.cpp_comment {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+}
+.cpp_doxygen_comment {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+ font-style: italic;
+}
+.cpp_doxygen_tag {
+
+ color: rgb(147,147,147);
+ background-color: rgb(247,247,247);
+ font-style: italic;
+ font-weight: bold;
+}
+.cpp_preproc {
+
+ color: purple;
+}
+
+.dr-insert-error {
+ color: red;
+ font-weight: bold;
+}
+
+]]>
+</f:verbatim>
+
+</f:template>
Modified: trunk/ui/insert/src/main/templates/org/richfaces/ui/htmlInsert.jspx
===================================================================
--- trunk/ui/insert/src/main/templates/org/richfaces/ui/htmlInsert.jspx 2008-03-26
20:44:07 UTC (rev 7279)
+++ trunk/ui/insert/src/main/templates/org/richfaces/ui/htmlInsert.jspx 2008-03-26
20:51:48 UTC (rev 7280)
@@ -9,7 +9,7 @@
baseclass="org.ajax4jsf.renderkit.AbstractInsertRenderer"
component="org.richfaces.ui.component.UIInsert"
- <h:styles>css/highlight.css</h:styles>
+ <h:styles>css/highlight.xcss</h:styles>
<f:clientid var="clientId"/>
<div id="#{clientId}"
x:passThruWithExclusions="value,name,type,id"