community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1865337 - in /comdev/reporter.apache.org/trunk/site/wizard: highlighter/highlighter.css js/source/unified.js js/wizard-beta.js
Date Sat, 17 Aug 2019 07:41:18 GMT
Author: humbedooh
Date: Sat Aug 17 07:41:18 2019
New Revision: 1865337

URL: http://svn.apache.org/viewvc?rev=1865337&view=rev
Log:
highlight private sections

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/highlighter/highlighter.css
    comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/highlighter/highlighter.css
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/highlighter/highlighter.css?rev=1865337&r1=1865336&r2=1865337&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/highlighter/highlighter.css (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/highlighter/highlighter.css Sat Aug 17 07:41:18
2019
@@ -61,6 +61,10 @@
     background-color: #ffec99;
 }
 
+.hwt-content mark.orange {
+    background-color: #ffac99;
+}
+
 .hwt-content div.green {
     background-color: #efe;
 	width: 100%;

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js?rev=1865337&r1=1865336&r2=1865337&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js Sat Aug 17 07:41:18
2019
@@ -9,6 +9,7 @@ function UnifiedEditor_highlight_section
     let hilites = [];
       // Headers are blue
     hilites.push({highlight: /^## [^\r\n]+:/mg, className: 'blue' });
+    hilites.push({highlight: /^<private>.+?<\/private>/g, className: 'orange'
});
       // Placeholders are grey with red border
     hilites.push({highlight: PLACEHOLDER, className: 'none' });
     

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js?rev=1865337&r1=1865336&r2=1865337&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js Sat Aug 17 07:41:18 2019
@@ -3299,6 +3299,7 @@ function UnifiedEditor_highlight_section
     let hilites = [];
       // Headers are blue
     hilites.push({highlight: /^## [^\r\n]+:/mg, className: 'blue' });
+    hilites.push({highlight: /^<private>.+?<\/private>/g, className: 'orange'
});
       // Placeholders are grey with red border
     hilites.push({highlight: PLACEHOLDER, className: 'none' });
     



Mime
View raw message