├── README.md ├── auto_resize ├── auto_resize.jpg ├── autoresize.jquery.min_1.04.js ├── clarifit_auto_resize.zip └── item_type_plugin_com_clarifit_apexplugin_auto_resize.sql ├── dialog ├── 1.0.0 │ ├── clarifit_dialog.zip │ ├── dynamic_action_plugin_com_clarifit_apexplugin_apex_dialog.sql │ ├── jquery.ui.clarifitDialog_1.0.0.js │ ├── jquery.ui.clarifitDialog_1.0.1.js │ └── plsql_src.sql ├── README.md ├── dynamic_action_plugin_com_clarifit_apexplugin_apex_dialog.sql ├── jquery.ui.clarifitDialog_1.0.0.js ├── jquery.ui.clarifitDialog_1.0.1.js └── plsql_src.sql ├── from_to_date ├── 1.0.0 │ ├── Clarifit From To Date Picker.zip │ ├── item_type_plugin_com_clarifit_fromtodatepicker.sql │ ├── jquery.ui.clarifitFromToDatePicker_1.0.0.js │ └── pkg_apex_plugin.pkb ├── 1.0.1 │ ├── Clarifit From To Date Picker.zip │ ├── item_type_plugin_com_clarifit_fromtodatepicker.sql │ ├── jquery.ui.clarifitFromToDatePicker_1.0.1.js │ └── pkg_apex_plugin.pkb ├── Clarifit From To Date Picker.zip ├── Clarifit From To Date Picker │ └── item_type_plugin_com_clarifit_fromtodatepicker.sql ├── README.md ├── __NEXT_RELEASE_CHANGES.txt ├── _test_from_thru.html ├── _test_from_thru.html.20101102_2235 ├── item_type_plugin_com_clarifit_fromtodatepicker.sql ├── jquery.ui.clarifitFromToDatePicker_1.0.0.js ├── jquery.ui.clarifitFromToDatePicker_1.0.1.js ├── pkg_apex_plugin.pkb └── pkg_apex_plugin.pks ├── ir_col_grouping ├── $clarifit_ircolgroups_1.0.0.js ├── $clarifit_ircolgroups_1.0.1.js ├── $clarifit_ircolgroups_1.0.2.js ├── $clarifit_ircolgroups_1.0.3.js ├── $clarifit_ircolgroups_1.0.4.js ├── $console_wrapper_1.0.1.js ├── clarifit_ir_col_grouping_1.0.0.zip ├── clarifit_ir_col_grouping_1.0.1.zip ├── clarifit_ir_col_grouping_1.0.2.zip ├── clarifit_ir_col_grouping_1.0.3.zip ├── clarifit_ir_col_grouping_1.0.4.zip ├── clarifit_ir_col_grp.jpg ├── dynamic_action_plugin_com_clarifit_apexplugin_ir_column_grouping.sql ├── ir_col_group_info.txt └── ir_col_group_scratch.sql ├── simple_modal ├── $cfap_1.0.0.js ├── $clarifit_1.0.0.js ├── _notes.txt ├── clarifit_simple_modal.jpg ├── clarifit_simple_modal.txt ├── clarifit_simple_modal.zip ├── dynamic_action_plugin_com_clarifit_apexplugin_simple_modal_close.sql ├── dynamic_action_plugin_com_clarifit_apexplugin_simple_modal_show.sql └── jquery.simplemodal-1.3.5.min.js └── syntax_highlighter ├── files ├── shBrushBash_3.0.83.js ├── shBrushCss_3.0.83.js ├── shBrushDiff_3.0.83.js ├── shBrushJScript_3.0.83.js ├── shBrushJava_3.0.83.js ├── shBrushPlain_3.0.83.js ├── shBrushSql_3.0.83.js ├── shBrushXml_3.0.83.js ├── shCoreDefault_3.0.83.css ├── shCoreDjango_3.0.83.css ├── shCoreEclipse_3.0.83.css ├── shCoreEmacs_3.0.83.css ├── shCoreFadeToGrey_3.0.83.css ├── shCoreMidnight_3.0.83.css ├── shCoreRDark_3.0.83.css ├── shCore_3.0.83.js ├── shThemeDefault_3.0.83.css └── shThemeDjango_3.0.83.css ├── item_type_plugin_com_clarifit_apexplugin_syntax_highlighter.sql ├── pkg_apex_plugin.pkb ├── pkg_apex_plugin.pks ├── syntax_highlighter.jpg ├── syntax_highlighter_1.0.zip ├── syntaxhighlighter_3.0.83.zip └── syntaxhighlighter_3.0.83 ├── LGPL-LICENSE ├── MIT-LICENSE ├── compass ├── _theme_template.scss ├── config.rb ├── shCore.scss ├── shCoreDefault.scss ├── shCoreDjango.scss ├── shCoreEclipse.scss ├── shCoreEmacs.scss ├── shCoreFadeToGrey.scss ├── shCoreMDUltra.scss ├── shCoreMidnight.scss ├── shCoreRDark.scss ├── shThemeDefault.scss ├── shThemeDjango.scss ├── shThemeEclipse.scss ├── shThemeEmacs.scss ├── shThemeFadeToGrey.scss ├── shThemeMDUltra.scss ├── shThemeMidnight.scss └── shThemeRDark.scss ├── index.html ├── scripts ├── shAutoloader.js ├── shBrushAS3.js ├── shBrushAppleScript.js ├── shBrushBash.js ├── shBrushCSharp.js ├── shBrushColdFusion.js ├── shBrushCpp.js ├── shBrushCss.js ├── shBrushDelphi.js ├── shBrushDiff.js ├── shBrushErlang.js ├── shBrushGroovy.js ├── shBrushJScript.js ├── shBrushJava.js ├── shBrushJavaFX.js ├── shBrushPerl.js ├── shBrushPhp.js ├── shBrushPlain.js ├── shBrushPowerShell.js ├── shBrushPython.js ├── shBrushRuby.js ├── shBrushSass.js ├── shBrushScala.js ├── shBrushSql.js ├── shBrushVb.js ├── shBrushXml.js ├── shCore.js └── shLegacy.js ├── src ├── shAutoloader.js ├── shCore.js └── shLegacy.js ├── styles ├── shCore.css ├── shCoreDefault.css ├── shCoreDjango.css ├── shCoreEclipse.css ├── shCoreEmacs.css ├── shCoreFadeToGrey.css ├── shCoreMDUltra.css ├── shCoreMidnight.css ├── shCoreRDark.css ├── shThemeDefault.css ├── shThemeDjango.css ├── shThemeEclipse.css ├── shThemeEmacs.css ├── shThemeFadeToGrey.css ├── shThemeMDUltra.css ├── shThemeMidnight.css └── shThemeRDark.css └── tests ├── .rvmrc ├── brushes └── sass.html ├── brushes_tests.html ├── cases ├── 001_basic.html ├── 002_brushes.html ├── 003_script_tag.html ├── 004_url_parsing.html ├── 005_no_gutter.html ├── 006_pad_line_numbers.html ├── 007_collapse.html ├── 007_collapse_interaction.html ├── 008_first_line.html ├── 009_class_name.html ├── 010_highlight.html ├── 011_smart_tabs.html ├── 012_server_side.html ├── 013_html_script.html └── 014_legacy.html ├── commonjs_tests.js ├── js ├── jquery-1.4.2.js ├── qunit.css └── qunit.js ├── syntaxhighlighter_tests.html ├── theme_tests.html ├── webrick.rb └── webrick.sh /README.md: -------------------------------------------------------------------------------- 1 | Oracle APEX Plugins by ClariFit 2 | ============ 3 | 4 | The following plugins are open source plugins developed by ClariFit. 5 | 6 | #Structure 7 | The structure for all the different plugins currently vary slightly. They will eventually be moved to a common directory structure which will allow for scripted builds. 8 | 9 | #License 10 | They are licensed under: GNU General Public License, version 3 (GPL-3.0) - http://www.opensource.org/licenses/gpl-3.0.html -------------------------------------------------------------------------------- /auto_resize/auto_resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/auto_resize/auto_resize.jpg -------------------------------------------------------------------------------- /auto_resize/autoresize.jquery.min_1.04.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery autoResize (textarea auto-resizer) 3 | * @copyright James Padolsey http://james.padolsey.com 4 | * @version 1.04 5 | */ 6 | 7 | (function(a){a.fn.autoResize=function(j){var b=a.extend({onResize:function(){},animate:true,animateDuration:150,animateCallback:function(){},extraSpace:20,limit:1000},j);this.filter('textarea').each(function(){var c=a(this).css({resize:'none','overflow-y':'hidden'}),k=c.height(),f=(function(){var l=['height','width','lineHeight','textDecoration','letterSpacing'],h={};a.each(l,function(d,e){h[e]=c.css(e)});return c.clone().removeAttr('id').removeAttr('name').css({position:'absolute',top:0,left:-9999}).css(h).attr('tabIndex','-1').insertBefore(c)})(),i=null,g=function(){f.height(0).val(a(this).val()).scrollTop(10000);var d=Math.max(f.scrollTop(),k)+b.extraSpace,e=a(this).add(f);if(i===d){return}i=d;if(d>=b.limit){a(this).css('overflow-y','');return}b.onResize.call(this);b.animate&&c.css('display')==='block'?e.stop().animate({height:d},b.animateDuration,b.animateCallback):e.height(d)};c.unbind('.dynSiz').bind('keyup.dynSiz',g).bind('keydown.dynSiz',g).bind('change.dynSiz',g)});return this}})(jQuery); -------------------------------------------------------------------------------- /auto_resize/clarifit_auto_resize.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/auto_resize/clarifit_auto_resize.zip -------------------------------------------------------------------------------- /dialog/1.0.0/clarifit_dialog.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/dialog/1.0.0/clarifit_dialog.zip -------------------------------------------------------------------------------- /dialog/1.0.0/plsql_src.sql: -------------------------------------------------------------------------------- 1 | -- *** Dialog *** 2 | FUNCTION f_render_dialog ( 3 | p_dynamic_action IN apex_plugin.t_dynamic_action, 4 | p_plugin IN apex_plugin.t_plugin ) 5 | RETURN apex_plugin.t_dynamic_action_render_result 6 | AS 7 | -- Application Plugin Attributes 8 | v_background_color apex_appl_plugins.attribute_01%TYPE := p_plugin.attribute_01; 9 | v_background_opacitiy apex_appl_plugins.attribute_01%TYPE := p_plugin.attribute_02; 10 | 11 | -- DA Plugin Attributes 12 | v_modal apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_01; -- y/n 13 | v_close_on_esc apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_02; -- y/n 14 | v_title apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_03; -- text 15 | v_hide_on_load apex_application_page_items.attribute_01%TYPE := upper(p_dynamic_action.attribute_04); -- y/n 16 | v_on_close_visible_state apex_application_page_items.attribute_01%TYPE := lower(p_dynamic_action.attribute_05); -- prev, show, hide 17 | v_action apex_application_page_items.attribute_01%type := lower(p_dynamic_action.attribute_06); -- open,close 18 | 19 | -- Return 20 | v_result apex_plugin.t_dynamic_action_render_result; 21 | 22 | -- Other variables 23 | v_html varchar2(4000); 24 | v_affected_elements apex_application_page_da_acts.affected_elements%type; 25 | v_affected_elements_type apex_application_page_da_acts.affected_elements_type%type; 26 | v_affected_region_id apex_application_page_da_acts.affected_region_id%type; 27 | v_affected_region_static_id apex_application_page_regions.static_id%type; 28 | 29 | -- Convert Y/N to True/False (text) 30 | -- Default to true 31 | FUNCTION f_yn_to_true_false_str(p_val IN VARCHAR2) 32 | RETURN VARCHAR2 33 | AS 34 | BEGIN 35 | RETURN 36 | CASE 37 | WHEN p_val IS NULL OR lower(p_val) != 'n' THEN 'true' 38 | ELSE 'false' 39 | END; 40 | END f_yn_to_true_false_str; 41 | 42 | BEGIN 43 | -- Debug information (if app is being run in debug mode) 44 | IF apex_application.g_debug THEN 45 | apex_plugin_util.debug_dynamic_action ( 46 | p_plugin => p_plugin, 47 | p_dynamic_action => p_dynamic_action); 48 | END IF; 49 | 50 | -- Cleaup values 51 | v_modal := f_yn_to_true_false_str(p_val => v_modal); 52 | v_close_on_esc := f_yn_to_true_false_str(p_val => v_close_on_esc); 53 | 54 | -- If Background color is not null set the CSS 55 | -- This will only be done once per page 56 | IF v_background_color IS NOT NULL AND v_action != 'close' THEN 57 | v_html := q'! 58 | .ui-widget-overlay{ 59 | background-image: none ; 60 | background-color: %BG_COLOR%; 61 | opacity: %OPACITY%; 62 | }!'; 63 | 64 | v_html := REPLACE(v_html, '%BG_COLOR%', v_background_color); 65 | v_html := REPLACE(v_html, '%OPACITY%', v_background_opacitiy); 66 | 67 | apex_css.ADD ( 68 | p_css => v_html, 69 | p_key => 'ui.clarifitdialog.background'); 70 | END IF; 71 | 72 | -- JAVASCRIPT 73 | 74 | -- Load javascript Libraries 75 | apex_javascript.add_library (p_name => '$console_wrapper', p_directory => p_plugin.file_prefix, p_version=> '_1.0.3'); -- Load Console Wrapper for debugging 76 | apex_javascript.add_library (p_name => 'jquery.ui.clarifitDialog', p_directory => p_plugin.file_prefix, p_version=> '_1.0.1'); 77 | 78 | -- Hide Affected Elements on Load 79 | IF v_hide_on_load = 'Y' AND v_action != 'close' THEN 80 | v_html := ''; 81 | 82 | SELECT affected_elements, lower(affected_elements_type), affected_region_id, aapr.static_id 83 | INTO v_affected_elements, v_affected_elements_type, v_affected_region_id, v_affected_region_static_id 84 | FROM apex_application_page_da_acts aapda, apex_application_page_regions aapr 85 | WHERE aapda.action_id = p_dynamic_action.ID 86 | AND aapda.affected_region_id = aapr.region_id(+); 87 | 88 | IF v_affected_elements_type = 'jquery selector' THEN 89 | v_html := 'apex.jQuery("' || v_affected_elements || '").hide();'; 90 | ELSIF v_affected_elements_type = 'dom object' THEN 91 | v_html := 'apex.jQuery("#' || v_affected_elements || '").hide();'; 92 | ELSIF v_affected_elements_type = 'region' THEN 93 | v_html := 'apex.jQuery("#' || nvl(v_affected_region_static_id, 'R' || v_affected_region_id) || '").hide();'; 94 | ELSE 95 | -- unknown/unhandled (nothing to hide) 96 | raise_application_error(-20001, 'Unknown Affected Element Type'); 97 | END IF; -- v_affected_elements_type 98 | 99 | apex_javascript.add_onload_code ( 100 | p_code => v_html, 101 | p_key => NULL); -- Leave null so always run 102 | END IF; -- v_hide_on_load 103 | 104 | -- RETURN 105 | if v_action = 'open' then 106 | v_result.javascript_function := '$.ui.clarifitDialog.daDialog'; 107 | v_result.attribute_01 := v_modal; 108 | v_result.attribute_02 := v_close_on_esc; 109 | v_result.attribute_03 := v_title; 110 | v_result.attribute_04 := v_on_close_visible_state; 111 | elsif v_action = 'close' THEN 112 | v_result.javascript_function := '$.ui.clarifitDialog.daClose'; 113 | ELSE 114 | raise_application_error(-20001, 'Unknown Action Type'); 115 | END IF; 116 | 117 | RETURN v_result; 118 | 119 | END f_render_dialog; -------------------------------------------------------------------------------- /dialog/README.md: -------------------------------------------------------------------------------- 1 | #PROJECT MOVED 2 | 3 | This plugin has moved to OraOpenSource: [https://github.com/OraOpenSource/apex-plugin-dialog/](https://github.com/OraOpenSource/apex-plugin-dialog/) 4 | -------------------------------------------------------------------------------- /dialog/plsql_src.sql: -------------------------------------------------------------------------------- 1 | -- *** Dialog *** 2 | FUNCTION f_render_dialog ( 3 | p_dynamic_action IN apex_plugin.t_dynamic_action, 4 | p_plugin IN apex_plugin.t_plugin ) 5 | RETURN apex_plugin.t_dynamic_action_render_result 6 | AS 7 | -- Application Plugin Attributes 8 | v_background_color apex_appl_plugins.attribute_01%TYPE := p_plugin.attribute_01; 9 | v_background_opacitiy apex_appl_plugins.attribute_01%TYPE := p_plugin.attribute_02; 10 | 11 | -- DA Plugin Attributes 12 | v_modal apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_01; -- y/n 13 | v_close_on_esc apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_02; -- y/n 14 | v_title apex_application_page_items.attribute_01%TYPE := p_dynamic_action.attribute_03; -- text 15 | v_hide_on_load apex_application_page_items.attribute_01%TYPE := upper(p_dynamic_action.attribute_04); -- y/n 16 | v_on_close_visible_state apex_application_page_items.attribute_01%TYPE := lower(p_dynamic_action.attribute_05); -- prev, show, hide 17 | v_action apex_application_page_items.attribute_01%type := lower(p_dynamic_action.attribute_06); -- open,close 18 | 19 | -- Return 20 | v_result apex_plugin.t_dynamic_action_render_result; 21 | 22 | -- Other variables 23 | v_html varchar2(4000); 24 | v_affected_elements apex_application_page_da_acts.affected_elements%type; 25 | v_affected_elements_type apex_application_page_da_acts.affected_elements_type%type; 26 | v_affected_region_id apex_application_page_da_acts.affected_region_id%type; 27 | v_affected_region_static_id apex_application_page_regions.static_id%type; 28 | 29 | -- Convert Y/N to True/False (text) 30 | -- Default to true 31 | FUNCTION f_yn_to_true_false_str(p_val IN VARCHAR2) 32 | RETURN VARCHAR2 33 | AS 34 | BEGIN 35 | RETURN 36 | CASE 37 | WHEN p_val IS NULL OR lower(p_val) != 'n' THEN 'true' 38 | ELSE 'false' 39 | END; 40 | END f_yn_to_true_false_str; 41 | 42 | BEGIN 43 | -- Debug information (if app is being run in debug mode) 44 | IF apex_application.g_debug THEN 45 | apex_plugin_util.debug_dynamic_action ( 46 | p_plugin => p_plugin, 47 | p_dynamic_action => p_dynamic_action); 48 | END IF; 49 | 50 | -- Cleaup values 51 | v_modal := f_yn_to_true_false_str(p_val => v_modal); 52 | v_close_on_esc := f_yn_to_true_false_str(p_val => v_close_on_esc); 53 | 54 | -- If Background color is not null set the CSS 55 | -- This will only be done once per page 56 | IF v_background_color IS NOT NULL AND v_action != 'close' THEN 57 | v_html := q'! 58 | .ui-widget-overlay{ 59 | background-image: none ; 60 | background-color: %BG_COLOR%; 61 | opacity: %OPACITY%; 62 | }!'; 63 | 64 | v_html := REPLACE(v_html, '%BG_COLOR%', v_background_color); 65 | v_html := REPLACE(v_html, '%OPACITY%', v_background_opacitiy); 66 | 67 | apex_css.ADD ( 68 | p_css => v_html, 69 | p_key => 'ui.clarifitdialog.background'); 70 | END IF; 71 | 72 | -- JAVASCRIPT 73 | 74 | -- Load javascript Libraries 75 | apex_javascript.add_library (p_name => '$console_wrapper', p_directory => p_plugin.file_prefix, p_version=> '_1.0.3'); -- Load Console Wrapper for debugging 76 | apex_javascript.add_library (p_name => 'jquery.ui.clarifitDialog', p_directory => p_plugin.file_prefix, p_version=> '_1.0.1'); 77 | 78 | -- Hide Affected Elements on Load 79 | IF v_hide_on_load = 'Y' AND v_action != 'close' THEN 80 | v_html := ''; 81 | 82 | SELECT affected_elements, lower(affected_elements_type), affected_region_id, aapr.static_id 83 | INTO v_affected_elements, v_affected_elements_type, v_affected_region_id, v_affected_region_static_id 84 | FROM apex_application_page_da_acts aapda, apex_application_page_regions aapr 85 | WHERE aapda.action_id = p_dynamic_action.ID 86 | AND aapda.affected_region_id = aapr.region_id(+); 87 | 88 | IF v_affected_elements_type = 'jquery selector' THEN 89 | v_html := 'apex.jQuery("' || v_affected_elements || '").hide();'; 90 | ELSIF v_affected_elements_type = 'dom object' THEN 91 | v_html := 'apex.jQuery("#' || v_affected_elements || '").hide();'; 92 | ELSIF v_affected_elements_type = 'region' THEN 93 | v_html := 'apex.jQuery("#' || nvl(v_affected_region_static_id, 'R' || v_affected_region_id) || '").hide();'; 94 | ELSE 95 | -- unknown/unhandled (nothing to hide) 96 | raise_application_error(-20001, 'Unknown Affected Element Type'); 97 | END IF; -- v_affected_elements_type 98 | 99 | apex_javascript.add_onload_code ( 100 | p_code => v_html, 101 | p_key => NULL); -- Leave null so always run 102 | END IF; -- v_hide_on_load 103 | 104 | -- RETURN 105 | if v_action = 'open' then 106 | v_result.javascript_function := '$.ui.clarifitDialog.daDialog'; 107 | v_result.attribute_01 := v_modal; 108 | v_result.attribute_02 := v_close_on_esc; 109 | v_result.attribute_03 := v_title; 110 | v_result.attribute_04 := v_on_close_visible_state; 111 | elsif v_action = 'close' THEN 112 | v_result.javascript_function := '$.ui.clarifitDialog.daClose'; 113 | ELSE 114 | raise_application_error(-20001, 'Unknown Action Type'); 115 | END IF; 116 | 117 | RETURN v_result; 118 | 119 | END f_render_dialog; -------------------------------------------------------------------------------- /from_to_date/1.0.0/Clarifit From To Date Picker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/from_to_date/1.0.0/Clarifit From To Date Picker.zip -------------------------------------------------------------------------------- /from_to_date/1.0.0/pkg_apex_plugin.pkb: -------------------------------------------------------------------------------- 1 | CREATE OR REPLACE PACKAGE BODY pkg_apex_plugin 2 | AS 3 | FUNCTION render_syntax_highlighter (p_item IN apex_plugin.t_page_item, 4 | p_plugin IN apex_plugin.t_plugin, 5 | p_value IN VARCHAR2, 6 | p_is_readonly IN BOOLEAN, 7 | p_is_printer_friendly IN BOOLEAN) 8 | RETURN apex_plugin.t_page_item_render_result 9 | AS 10 | v_result apex_plugin.t_page_item_render_result; 11 | v_brush_js VARCHAR2 (30); -- Brush JS name 12 | -- Custom Item Attributes 13 | v_brush p_item.attribute_01%TYPE := LOWER (p_item.attribute_01); 14 | v_auto_links p_item.attribute_02%TYPE := LOWER (p_item.attribute_02); 15 | v_collapse p_item.attribute_03%TYPE := LOWER (p_item.attribute_03); 16 | v_gutter p_item.attribute_04%TYPE := LOWER (p_item.attribute_04); 17 | v_smart_tabs p_item.attribute_05%TYPE := LOWER (p_item.attribute_05); 18 | v_tab_size p_item.attribute_06%TYPE := p_item.attribute_06; 19 | -- Custom Plugin Attributes 20 | v_theme p_plugin.attribute_01%TYPE := p_plugin.attribute_01; 21 | -- TODO: Globals 22 | -- When updating makesure the filenames all are suffixed with this version number 23 | c_version VARCHAR2 (10) := '_3.0.83'; 24 | BEGIN 25 | -- Syntax Highlighter based on: http://alexgorbatchev.com/SyntaxHighlighter 26 | -- Debug 27 | IF apex_application.g_debug THEN 28 | apex_plugin_util.debug_page_item (p_plugin => p_plugin, 29 | p_page_item => p_item, 30 | p_value => p_value, 31 | p_is_readonly => p_is_readonly, 32 | p_is_printer_friendly => p_is_printer_friendly); 33 | END IF; 34 | 35 | -- Does not handle printer friendly or read only as this is readonly by nature and we want 36 | -- Syntax highlighter formatting for printer 37 | 38 | -- Load JS Libraries 39 | apex_javascript.add_library (p_name => 'shCore', p_directory => p_plugin.file_prefix, p_version => c_version); 40 | 41 | -- Load custom JS Libary for selected brush type 42 | IF v_brush = 'js' THEN 43 | v_brush_js := 'JScript'; 44 | ELSIF v_brush = 'sql' THEN 45 | v_brush_js := 'Sql'; 46 | ELSIF v_brush = 'bash' THEN 47 | v_brush_js := 'Bash'; 48 | ELSIF v_brush = 'css' THEN 49 | v_brush_js := 'Css'; 50 | ELSIF v_brush = 'diff' THEN 51 | v_brush_js := 'Diff'; 52 | ELSIF v_brush = 'java' THEN 53 | v_brush_js := 'Java'; 54 | ELSIF v_brush = 'plain' THEN 55 | v_brush_js := 'Plain'; 56 | ELSIF v_brush = 'xml' THEN 57 | v_brush_js := 'Xml'; 58 | END IF; 59 | 60 | apex_javascript.add_library (p_name => 'shBrush' || v_brush_js, p_directory => p_plugin.file_prefix, p_version => c_version); 61 | 62 | -- Load CSS Library 63 | apex_css.add_file (p_name => 'shCore' || v_theme, p_directory => p_plugin.file_prefix, p_version => c_version); 64 | 65 | -- Print Syntax 66 | sys.htp.p ('
'); 67 | apex_plugin_util.print_escaped_value (p_value => p_value); 68 | sys.htp.p (''); 69 | 70 | -- Run onLoad code 71 | apex_javascript.add_onload_code (p_code => 'SyntaxHighlighter.all();', p_key => 'SYNTAX_HIGHLIGHTER'); 72 | 73 | RETURN v_result; 74 | END render_syntax_highlighter; 75 | end pkg_apex_plugin; 76 | / -------------------------------------------------------------------------------- /from_to_date/1.0.1/Clarifit From To Date Picker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/from_to_date/1.0.1/Clarifit From To Date Picker.zip -------------------------------------------------------------------------------- /from_to_date/1.0.1/pkg_apex_plugin.pkb: -------------------------------------------------------------------------------- 1 | CREATE OR REPLACE PACKAGE BODY pkg_apex_plugin 2 | AS 3 | FUNCTION render_syntax_highlighter (p_item IN apex_plugin.t_page_item, 4 | p_plugin IN apex_plugin.t_plugin, 5 | p_value IN VARCHAR2, 6 | p_is_readonly IN BOOLEAN, 7 | p_is_printer_friendly IN BOOLEAN) 8 | RETURN apex_plugin.t_page_item_render_result 9 | AS 10 | v_result apex_plugin.t_page_item_render_result; 11 | v_brush_js VARCHAR2 (30); -- Brush JS name 12 | -- Custom Item Attributes 13 | v_brush p_item.attribute_01%TYPE := LOWER (p_item.attribute_01); 14 | v_auto_links p_item.attribute_02%TYPE := LOWER (p_item.attribute_02); 15 | v_collapse p_item.attribute_03%TYPE := LOWER (p_item.attribute_03); 16 | v_gutter p_item.attribute_04%TYPE := LOWER (p_item.attribute_04); 17 | v_smart_tabs p_item.attribute_05%TYPE := LOWER (p_item.attribute_05); 18 | v_tab_size p_item.attribute_06%TYPE := p_item.attribute_06; 19 | -- Custom Plugin Attributes 20 | v_theme p_plugin.attribute_01%TYPE := p_plugin.attribute_01; 21 | -- TODO: Globals 22 | -- When updating makesure the filenames all are suffixed with this version number 23 | c_version VARCHAR2 (10) := '_3.0.83'; 24 | BEGIN 25 | -- Syntax Highlighter based on: http://alexgorbatchev.com/SyntaxHighlighter 26 | -- Debug 27 | IF apex_application.g_debug THEN 28 | apex_plugin_util.debug_page_item (p_plugin => p_plugin, 29 | p_page_item => p_item, 30 | p_value => p_value, 31 | p_is_readonly => p_is_readonly, 32 | p_is_printer_friendly => p_is_printer_friendly); 33 | END IF; 34 | 35 | -- Does not handle printer friendly or read only as this is readonly by nature and we want 36 | -- Syntax highlighter formatting for printer 37 | 38 | -- Load JS Libraries 39 | apex_javascript.add_library (p_name => 'shCore', p_directory => p_plugin.file_prefix, p_version => c_version); 40 | 41 | -- Load custom JS Libary for selected brush type 42 | IF v_brush = 'js' THEN 43 | v_brush_js := 'JScript'; 44 | ELSIF v_brush = 'sql' THEN 45 | v_brush_js := 'Sql'; 46 | ELSIF v_brush = 'bash' THEN 47 | v_brush_js := 'Bash'; 48 | ELSIF v_brush = 'css' THEN 49 | v_brush_js := 'Css'; 50 | ELSIF v_brush = 'diff' THEN 51 | v_brush_js := 'Diff'; 52 | ELSIF v_brush = 'java' THEN 53 | v_brush_js := 'Java'; 54 | ELSIF v_brush = 'plain' THEN 55 | v_brush_js := 'Plain'; 56 | ELSIF v_brush = 'xml' THEN 57 | v_brush_js := 'Xml'; 58 | END IF; 59 | 60 | apex_javascript.add_library (p_name => 'shBrush' || v_brush_js, p_directory => p_plugin.file_prefix, p_version => c_version); 61 | 62 | -- Load CSS Library 63 | apex_css.add_file (p_name => 'shCore' || v_theme, p_directory => p_plugin.file_prefix, p_version => c_version); 64 | 65 | -- Print Syntax 66 | sys.htp.p ('
'); 67 | apex_plugin_util.print_escaped_value (p_value => p_value); 68 | sys.htp.p (''); 69 | 70 | -- Run onLoad code 71 | apex_javascript.add_onload_code (p_code => 'SyntaxHighlighter.all();', p_key => 'SYNTAX_HIGHLIGHTER'); 72 | 73 | RETURN v_result; 74 | END render_syntax_highlighter; 75 | end pkg_apex_plugin; 76 | / -------------------------------------------------------------------------------- /from_to_date/Clarifit From To Date Picker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/from_to_date/Clarifit From To Date Picker.zip -------------------------------------------------------------------------------- /from_to_date/README.md: -------------------------------------------------------------------------------- 1 | # PROJECT MOVED 2 | 3 | The from/to date picker has moved to [https://github.com/OraOpenSource/apex-plugin-from-to-datepicker](https://github.com/OraOpenSource/apex-plugin-from-to-datepicker). 4 | 5 | The version listed in this repository is in place soley for historical purposes. No new development will occur on this version. Please create new issues/enahnagement requests on the new project page. 6 | -------------------------------------------------------------------------------- /from_to_date/__NEXT_RELEASE_CHANGES.txt: -------------------------------------------------------------------------------- 1 | 2 | Implemented in 1.0.1 3 | 4 | - Add an absolute min/max dates 5 | - IE 7/8/9 Fix 6 | 7 | Dear, 8 | 9 | I have recently downloaded and tried the Clarifit from to datepicker. I must say I really like the concept. I am currently working with a client that only uses IE8. I develop in Chrome, but test in IE, after testing the folowing error popped up: "Expected identifier String or Number". In IE this usually means there is a "," somewhere, where it shouldn't be. I found two in the code: 10 | 11 | One at 12 | showOn: 'button' 13 | }, 14 | datePickerType: '', //from or to 15 | }, 16 | So this becomes: 17 | showOn: 'button' 18 | }, 19 | datePickerType: '' //from or to 20 | }, 21 | And one at: 22 | uiw._values = { 23 | shortYearCutoff: 30, //roll over year 24 | }; 25 | becomes: 26 | uiw._values = {shortYearCutoff: 30 //roll over year 27 | }; 28 | 29 | After editing these two out, it ran withouth any further problems. 30 | 31 | Perhaps you were already aware of this problem, but if not I hope this information will help you if you decide to release another version. 32 | And again, thank you for releasing such a handy plug-in. 33 | 34 | Regards, 35 | 36 | Joni Vandenberghe 37 | Oracle Consultant 38 | -------------------------------------------------------------------------------- /from_to_date/_test_from_thru.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | (( |;)+|^)test:([^\s])+ 69 | 70 | 71 | http://www.w3schools.com/jsref/jsref_obj_regexp.asp 72 | 73 | 74 | var x = "datepicker test:s hasDatepicker"; 75 | x.match(/\btest:[^\s]+/); 76 | var y = x.match(/\btest:[^\s]+/).toString(); ** Works ** 77 | console.log(y); 78 | 79 | if (y===null) 80 | console.log('hello'); 81 | else 82 | console.log('jello'); 83 | 84 |
'); 67 | apex_plugin_util.print_escaped_value (p_value => p_value); 68 | sys.htp.p (''); 69 | 70 | -- Run onLoad code 71 | apex_javascript.add_onload_code (p_code => 'SyntaxHighlighter.all();', p_key => 'SYNTAX_HIGHLIGHTER'); 72 | 73 | RETURN v_result; 74 | END render_syntax_highlighter; 75 | end pkg_apex_plugin; 76 | / -------------------------------------------------------------------------------- /from_to_date/pkg_apex_plugin.pks: -------------------------------------------------------------------------------- 1 | CREATE OR REPLACE PACKAGE pkg_apex_plugin 2 | AS 3 | FUNCTION render_syntax_highlighter (p_item IN apex_plugin.t_page_item, 4 | p_plugin IN apex_plugin.t_plugin, 5 | p_value IN VARCHAR2, 6 | p_is_readonly IN BOOLEAN, 7 | p_is_printer_friendly IN BOOLEAN) 8 | RETURN apex_plugin.t_page_item_render_result; 9 | END pkg_apex_plugin; -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grouping_1.0.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grouping_1.0.0.zip -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grouping_1.0.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grouping_1.0.1.zip -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grouping_1.0.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grouping_1.0.2.zip -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grouping_1.0.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grouping_1.0.3.zip -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grouping_1.0.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grouping_1.0.4.zip -------------------------------------------------------------------------------- /ir_col_grouping/clarifit_ir_col_grp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/ir_col_grouping/clarifit_ir_col_grp.jpg -------------------------------------------------------------------------------- /ir_col_grouping/ir_col_group_info.txt: -------------------------------------------------------------------------------- 1 | // TODO: PDF for the instructions on how to use 2 | // TODO: explain why you can't use the region for the refresh and you must use the ID (bc region templates don't always contain the region id information). 3 | -------------------------------------------------------------------------------- /ir_col_grouping/ir_col_group_scratch.sql: -------------------------------------------------------------------------------- 1 | select * 2 | from apex_dictionary 3 | where column_id = 0 4 | and apex_view_name like '%COL%'; 5 | 6 | -- TODO to avoid context switching I may want to just calling function later on rather than in SQL statement 7 | select '{"column_alias":"' || column_alias || '","column_group":"' || column_group || '"}' -- TODO call escape JSON function 8 | from APEX_APPLICATION_PAGE_IR_COL 9 | where application_id = 108 -- TODO replace with var 10 | and page_id = 1 -- TODO replace with var 11 | and column_group is not null; 12 | 13 | 14 | -- TODO this is from APEX code need to change it up before I use it 15 | -- TODO perhaps rename to f_json_escape 16 | create or replace FUNCTION JSON_REPLACE( 17 | P_TEXT IN VARCHAR2 DEFAULT NULL 18 | ) RETURN VARCHAR2 IS 19 | L_TEXT VARCHAR2(32767); 20 | BEGIN 21 | L_TEXT := REPLACE(P_TEXT, '\', '\\'); 22 | L_TEXT := REPLACE(L_TEXT, '"', '\"'); 23 | L_TEXT := REPLACE(L_TEXT,CHR(13)||CHR(10),CHR(10)); 24 | L_TEXT := REPLACE(L_TEXT,CHR(10)||CHR(13),CHR(10)); 25 | L_TEXT := REPLACE(L_TEXT,CHR(10),'\n'); 26 | RETURN L_TEXT; 27 | END JSON_REPLACE; 28 | 29 | 30 | select * 31 | from logger_logs 32 | order by id desc; 33 | -------------------------------------------------------------------------------- /simple_modal/$cfap_1.0.0.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ClariFit JS APEX Plugin code 3 | * http://www.clarifit.com 4 | * apex@clarifit.com 5 | * 6 | * Wrapper for ClariFit APEX Plugins 7 | * CFAP = ClariFit Apex Plugin 8 | * 9 | * Requires: 10 | * -$logger_1.0.0.js 11 | * -$clarifit_1.0.0.js 12 | */ 13 | $cfap = {}; 14 | 15 | //*** SimpleModal *** 16 | $cfap.simpleModal = {}; 17 | 18 | /** 19 | * Simple Modal: Show 20 | */ 21 | $cfap.simpleModal.show = function (){ 22 | $.console.group('ClariFit: simpleModal.show'); 23 | $.console.log('Apex plugin "this": ', this); 24 | 25 | //Variables 26 | var params = { 27 | hideOnClose : this.action.attribute01.toLowerCase() == 'true', 28 | opacity : this.action.attribute02, 29 | escClose : this.action.attribute03.toLowerCase() == 'true', 30 | modal : this.action.attribute04.toLowerCase() == 'true', 31 | backgroundColor : this.action.attribute05 32 | }; 33 | 34 | var affectedElements = this.affectedElements; 35 | 36 | var vOptions ={ 37 | opacity : params.opacity, 38 | escClose : params.escClose, 39 | modal : params.modal, 40 | onClose : function(dialog){ 41 | $.modal.close(); 42 | if (params.hideOnClose){ 43 | $.console.log('Automatically closing affected elements'); 44 | affectedElements.hide(); 45 | } 46 | }//onClose 47 | }; 48 | 49 | if (params.backgroundColor != null) 50 | vOptions.overlayCss = {backgroundColor: params.backgroundColor}; 51 | 52 | //If no Affected Elements were selected (defaults to document) or invalud affected elements then do nothing 53 | if(this.affectedElements.length == 0 || (this.affectedElements.length == 1 && this.affectedElements[0] == document)){ 54 | //No elements were provided 55 | $.console.warn('No affected elements, nothing to do.'); 56 | } 57 | else{ 58 | //Show objects 59 | //Recommended to show only 1 object, but can handle more 60 | if (this.affectedElements.length > 1) 61 | $.console.info('More than 1 affected elements. Not recommended'); 62 | $clarifit.modalShow(this.affectedElements, vOptions); 63 | } 64 | $.console.groupEnd(); 65 | }// $cfap.modalShow 66 | 67 | /** 68 | * Close Simple Modal 69 | */ 70 | $cfap.simpleModal.close = function (){ 71 | $.console.group('ClariFit: simpleModal.close'); 72 | $clarifit.modalClose(); 73 | $.console.groupEnd(); 74 | }//$cfap.simpleModalShow -------------------------------------------------------------------------------- /simple_modal/$clarifit_1.0.0.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ClariFit JS code 3 | * http://www.clarifit.com 4 | * apex@clarifit.com 5 | * 6 | * Requires 7 | * - SimpleModal 1.3.5 8 | */ 9 | $clarifit = {}; 10 | 11 | /** 12 | * Displays Object(s) as modal 13 | * Only allows for one modal window open at a time 14 | * To close modal window, call $clarifit.modalClose(); 15 | * 16 | * Requires: 17 | * - http://www.ericmmartin.com/projects/simplemodal/ 18 | * 19 | * Please note you can't call the simple modal by itself. It will work but you will run into issues with APEX items. 20 | * See: http://forums.oracle.com/forums/thread.jspa?messageID=3180532 for more information. 21 | * 22 | * Used in: 23 | * - COM.CLARIFIT.APEXPLUGIN.SIMPLE_MODAL_SHOW 24 | * 25 | * @param pObj object(s) (preferably this references a region) to make modal 26 | * @param pOptions Options for modal Screen. See: http://www.ericmmartin.com/projects/simplemodal/#options for more info 27 | */ 28 | $clarifit.modalShow = function(pObj, pOptions){ 29 | var vDefaults = { 30 | persist: true, //If true, the data will be maintained across modal calls, if false, the data will be reverted to its original state. (i.e. it will be deleted 31 | overlayCss: {backgroundColor: '#606060'} //Dark Grey 32 | }; 33 | 34 | //Extend default options 35 | pOptions = jQuery.extend(true,vDefaults, pOptions); 36 | 37 | // Maintain order of APEX items (see forum posting above) 38 | $(pObj).wrap(''); 39 | 40 | // Make sure the region is visible 41 | $(pObj).show(); 42 | 43 | // Open Modal Screen 44 | $(pObj).modal(pOptions); 45 | }//$clarifit.modalShow 46 | 47 | /** 48 | * Closes the modal screen 49 | * 50 | * Used in: 51 | * - COM.CLARIFIT.APEXPLUGIN.SIMPLE_MODAL_CLOSE 52 | */ 53 | $clarifit.modalClose = function(){ 54 | $.modal.close(); 55 | }// $clarifit.modalClose 56 | 57 | 58 | -------------------------------------------------------------------------------- /simple_modal/_notes.txt: -------------------------------------------------------------------------------- 1 | http://www.ericmmartin.com/projects/simplemodal/ 2 | 3 | - Attributes 4 | - Type: open/close 5 | - Region ID: id 6 | - opacity 7 | - closeHTML 8 | - escClose 9 | - closeClass 10 | 11 | - Call Backs 12 | - onOpen 13 | - onShow 14 | - onClose 15 | 16 | TODO: 17 | - escape on close always seems active (check close attribute) 18 | - When I do a modal.close object is still visibile. -------------------------------------------------------------------------------- /simple_modal/clarifit_simple_modal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/simple_modal/clarifit_simple_modal.jpg -------------------------------------------------------------------------------- /simple_modal/clarifit_simple_modal.txt: -------------------------------------------------------------------------------- 1 | Example: http://apex.oracle.com/pls/apex/f?p=45587:400 2 | 3 | This file contains 2 plugins. One is to close the nodal window and the other is to open the modal window 4 | 5 | Additional help: apex@clarifit.com -------------------------------------------------------------------------------- /simple_modal/clarifit_simple_modal.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/simple_modal/clarifit_simple_modal.zip -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushBash_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne ge le'; 25 | var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' + 26 | 'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' + 27 | 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' + 28 | 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' + 29 | 'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' + 30 | 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' + 31 | 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' + 32 | 'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' + 33 | 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' + 34 | 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' + 35 | 'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' + 36 | 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' + 37 | 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' + 38 | 'vi watch wc whereis which who whoami Wget xargs yes' 39 | ; 40 | 41 | this.regexList = [ 42 | { regex: /^#!.*$/gm, css: 'preprocessor bold' }, 43 | { regex: /\/[\w-\/]+/gm, css: 'plain' }, 44 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 45 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 46 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 47 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 48 | { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands 49 | ]; 50 | } 51 | 52 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 53 | Brush.aliases = ['bash', 'shell']; 54 | 55 | SyntaxHighlighter.brushes.Bash = Brush; 56 | 57 | // CommonJS 58 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 59 | })(); 60 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushDiff_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | this.regexList = [ 25 | { regex: /^\+\+\+.*$/gm, css: 'color2' }, 26 | { regex: /^\-\-\-.*$/gm, css: 'color2' }, 27 | { regex: /^\s.*$/gm, css: 'color1' }, 28 | { regex: /^@@.*@@$/gm, css: 'variable' }, 29 | { regex: /^\+[^\+]{1}.*$/gm, css: 'string' }, 30 | { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' } 31 | ]; 32 | }; 33 | 34 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 35 | Brush.aliases = ['diff', 'patch']; 36 | 37 | SyntaxHighlighter.brushes.Diff = Brush; 38 | 39 | // CommonJS 40 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 41 | })(); 42 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushJScript_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushJava_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'abstract assert boolean break byte case catch char class const ' + 25 | 'continue default do double else enum extends ' + 26 | 'false final finally float for goto if implements import ' + 27 | 'instanceof int interface long native new null ' + 28 | 'package private protected public return ' + 29 | 'short static strictfp super switch synchronized this throw throws true ' + 30 | 'transient try void volatile while'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments 35 | { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 39 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 40 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword 42 | ]; 43 | 44 | this.forHtmlScript({ 45 | left : /(<|<)%[@!=]?/g, 46 | right : /%(>|>)/g 47 | }); 48 | }; 49 | 50 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 51 | Brush.aliases = ['java']; 52 | 53 | SyntaxHighlighter.brushes.Java = Brush; 54 | 55 | // CommonJS 56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 57 | })(); 58 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushPlain_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | }; 25 | 26 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 27 | Brush.aliases = ['text', 'plain']; 28 | 29 | SyntaxHighlighter.brushes.Plain = Brush; 30 | 31 | // CommonJS 32 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 33 | })(); 34 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushSql_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var funcs = 'abs avg case cast coalesce convert count current_timestamp ' + 25 | 'current_user day isnull left lower month nullif replace right ' + 26 | 'session_user space substring sum system_user upper user year'; 27 | 28 | var keywords = 'absolute action add after alter as asc at authorization begin bigint ' + 29 | 'binary bit by cascade char character check checkpoint close collate ' + 30 | 'column commit committed connect connection constraint contains continue ' + 31 | 'create cube current current_date current_time cursor database date ' + 32 | 'deallocate dec decimal declare default delete desc distinct double drop ' + 33 | 'dynamic else end end-exec escape except exec execute false fetch first ' + 34 | 'float for force foreign forward free from full function global goto grant ' + 35 | 'group grouping having hour ignore index inner insensitive insert instead ' + 36 | 'int integer intersect into is isolation key last level load local max min ' + 37 | 'minute modify move name national nchar next no numeric of off on only ' + 38 | 'open option order out output partial password precision prepare primary ' + 39 | 'prior privileges procedure public read real references relative repeatable ' + 40 | 'restrict return returns revoke rollback rollup rows rule schema scroll ' + 41 | 'second section select sequence serializable set size smallint static ' + 42 | 'statistics table temp temporary then time timestamp to top transaction ' + 43 | 'translation trigger true truncate uncommitted union unique update values ' + 44 | 'varchar varying view when where with work'; 45 | 46 | var operators = 'all and any between cross in join like not null or outer some'; 47 | 48 | this.regexList = [ 49 | { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments 50 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 51 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 52 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions 53 | { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such 54 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 55 | ]; 56 | }; 57 | 58 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 59 | Brush.aliases = ['sql']; 60 | 61 | SyntaxHighlighter.brushes.Sql = Brush; 62 | 63 | // CommonJS 64 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 65 | })(); 66 | 67 | -------------------------------------------------------------------------------- /syntax_highlighter/files/shBrushXml_3.0.83.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function process(match, regexInfo) 25 | { 26 | var constructor = SyntaxHighlighter.Match, 27 | code = match[0], 28 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?
'); 67 | apex_plugin_util.print_escaped_value (p_value => p_value); 68 | sys.htp.p (''); 69 | 70 | -- Run onLoad code 71 | apex_javascript.add_onload_code (p_code => 'SyntaxHighlighter.all();', p_key => 'SYNTAX_HIGHLIGHTER'); 72 | 73 | RETURN v_result; 74 | END render_syntax_highlighter; 75 | END pkg_apex_plugin; -------------------------------------------------------------------------------- /syntax_highlighter/pkg_apex_plugin.pks: -------------------------------------------------------------------------------- 1 | CREATE OR REPLACE PACKAGE pkg_apex_plugin 2 | AS 3 | FUNCTION render_syntax_highlighter (p_item IN apex_plugin.t_page_item, 4 | p_plugin IN apex_plugin.t_plugin, 5 | p_value IN VARCHAR2, 6 | p_is_readonly IN BOOLEAN, 7 | p_is_printer_friendly IN BOOLEAN) 8 | RETURN apex_plugin.t_page_item_render_result; 9 | END pkg_apex_plugin; -------------------------------------------------------------------------------- /syntax_highlighter/syntax_highlighter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/syntax_highlighter/syntax_highlighter.jpg -------------------------------------------------------------------------------- /syntax_highlighter/syntax_highlighter_1.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/syntax_highlighter/syntax_highlighter_1.0.zip -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClariFit/apex_plugins/27d21d09ac311113a8fea6140be72c307dddf35b/syntax_highlighter/syntaxhighlighter_3.0.83.zip -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003, 2004 Jim Weirich 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/_theme_template.scss: -------------------------------------------------------------------------------- 1 | $background: white !default; 2 | 3 | $line_alt1_background: $background !default; 4 | $line_alt2_background: $background !default; 5 | 6 | $line_highlighted_background: #e0e0e0 !default; 7 | $line_highlighted_number: black !default; 8 | 9 | $gutter_text: #afafaf !default; 10 | $gutter_border_color: #6ce26c !default; 11 | $gutter_border: 3px solid $gutter_border_color !default; 12 | 13 | $toolbar_collapsed_a: #00f !default; 14 | $toolbar_collapsed_a_hover: #f00 !default; 15 | $toolbar_collapsed_background: #fff !default; 16 | $toolbar_collapsed_border: 1px solid $gutter_border_color !default; 17 | 18 | $toolbar_a: #fff !default; 19 | $toolbar_a_hover: #000 !default; 20 | $toolbar_background: $gutter_border_color !default; 21 | $toolbar_border: none !default; 22 | 23 | $code_plain: black !default; 24 | $code_comments: #008200 !default; 25 | $code_string: blue !default; 26 | $code_keyword: #006699 !default; 27 | $code_preprocessor: gray !default; 28 | $code_variable: #aa7700 !default; 29 | $code_value: #009900 !default; 30 | $code_functions: #ff1493 !default; 31 | $code_constants: #0066cc !default; 32 | $code_script: $code_keyword !default; 33 | $code_script_background: none !default; 34 | $code_color1: gray !default; 35 | $code_color2: #ff1493 !default; 36 | $code_color3: red !default; 37 | 38 | $caption_color: $code_plain !default; 39 | 40 | // Interface elements. 41 | .syntaxhighlighter { 42 | background-color: $background !important; 43 | 44 | // Highlighed line number 45 | .line { 46 | &.alt1 { background-color: $line_alt1_background !important; } 47 | &.alt2 { background-color: $line_alt2_background !important; } 48 | 49 | // Highlighed line 50 | &.highlighted { 51 | &.alt1, &.alt2 { background-color: $line_highlighted_background !important; } 52 | &.number { color: $line_highlighted_number !important; } 53 | } 54 | } 55 | 56 | table { 57 | caption { 58 | color: $caption_color !important; 59 | } 60 | } 61 | 62 | // Add border to the lines 63 | .gutter { 64 | color: $gutter_text !important; 65 | .line { 66 | border-right: $gutter_border !important; 67 | 68 | &.highlighted { 69 | background-color: $gutter_border_color !important; 70 | color: $background !important; 71 | } 72 | } 73 | } 74 | 75 | &.printing .line .content { border: none !important; } 76 | 77 | &.collapsed { 78 | overflow: visible !important; 79 | 80 | .toolbar { 81 | color: $toolbar_collapsed_a !important; 82 | background: $toolbar_collapsed_background !important; 83 | border: $toolbar_collapsed_border !important; 84 | 85 | a { 86 | color: $toolbar_collapsed_a !important; 87 | &:hover { color: $toolbar_collapsed_a_hover !important; } 88 | } 89 | } 90 | } 91 | 92 | .toolbar { 93 | color: $toolbar_a !important; 94 | background: $toolbar_background !important; 95 | border: $toolbar_border !important; 96 | a { 97 | color: $toolbar_a !important; 98 | &:hover { color: $toolbar_a_hover !important; } 99 | } 100 | } 101 | 102 | // Actual syntax highlighter colors. 103 | .plain, .plain a { color: $code_plain !important; } 104 | .comments, .comments a { color: $code_comments !important; } 105 | .string, .string a { color: $code_string !important; } 106 | .keyword { color: $code_keyword !important; } 107 | .preprocessor { color: $code_preprocessor !important; } 108 | .variable { color: $code_variable !important; } 109 | .value { color: $code_value !important; } 110 | .functions { color: $code_functions !important; } 111 | .constants { color: $code_constants !important; } 112 | .script { 113 | font-weight: bold !important; 114 | color: $code_script !important; 115 | background-color: $code_script_background !important; 116 | } 117 | .color1, .color1 a { color: $code_color1 !important; } 118 | .color2, .color2 a { color: $code_color2 !important; } 119 | .color3, .color3 a { color: $code_color3 !important; } 120 | } 121 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/config.rb: -------------------------------------------------------------------------------- 1 | environment = :production 2 | project_type = :stand_alone 3 | http_path = "/" 4 | css_dir = "../styles" 5 | sass_dir = "." 6 | images_dir = "images" 7 | sass_options = { 8 | :line_numbers => false, 9 | :debug_info => false 10 | } 11 | 12 | # output_style = :compressed 13 | # output_style = :compact 14 | output_style = :expanded 15 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreDefault.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeDefault.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreDjango.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeDjango.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreEclipse.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeEclipse.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreEmacs.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeEmacs.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreFadeToGrey.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeFadeToGrey.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreMDUltra.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeMDUltra.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreMidnight.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeMidnight.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shCoreRDark.scss: -------------------------------------------------------------------------------- 1 | @import "shCore.scss"; 2 | @import "shThemeRDark.scss"; 3 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeDefault.scss: -------------------------------------------------------------------------------- 1 | // Default Syntax Highlighter theme. 2 | 3 | @import "_theme_template.scss"; 4 | 5 | .syntaxhighlighter { 6 | .keyword { font-weight: bold !important; } 7 | } 8 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeDjango.scss: -------------------------------------------------------------------------------- 1 | // Django SyntaxHighlighter theme 2 | 3 | $background: #0a2b1d !default; 4 | 5 | $line_highlighted_background: #233729 !default; 6 | $line_highlighted_number: white !default; 7 | 8 | $gutter_text: #497958 !default; 9 | $gutter_border_color: #41a83e !default; 10 | 11 | $toolbar_collapsed_a: #96dd3b !default; 12 | $toolbar_collapsed_a_hover: #fff !default; 13 | $toolbar_collapsed_background: #000 !default; 14 | 15 | $toolbar_a: #fff !default; 16 | $toolbar_a_hover: #ffe862 !default; 17 | 18 | $code_plain: #f8f8f8 !default; 19 | $code_comments: #336442 !default; 20 | $code_string: #9df39f !default; 21 | $code_keyword: #96dd3b !default; 22 | $code_preprocessor: #91bb9e !default; 23 | $code_variable: #ffaa3e !default; 24 | $code_value: #f7e741 !default; 25 | $code_functions: #ffaa3e !default; 26 | $code_constants: #e0e8ff !default; 27 | $code_color1: #eb939a !default; 28 | $code_color2: #91bb9e !default; 29 | $code_color3: #edef7d !default; 30 | 31 | @import "_theme_template.scss"; 32 | 33 | .syntaxhighlighter { 34 | .comments { font-style: italic !important; } 35 | .keyword { font-weight: bold !important; } 36 | } 37 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeEclipse.scss: -------------------------------------------------------------------------------- 1 | // Eclipse IDE SyntaxHighlighter color theme 2 | // (C) Code-House 3 | // :http//blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/ 4 | 5 | $background: #fff !default; 6 | 7 | $line_highlighted_background: #c3defe !default; 8 | $line_highlighted_number: #fff !default; 9 | 10 | $gutter_text: #787878 !default; 11 | $gutter_border_color: #d4d0c8 !default; 12 | 13 | $toolbar_collapsed_a: #3f5fbf !default; 14 | $toolbar_collapsed_a_hover: #aa7700 !default; 15 | $toolbar_collapsed_background: #fff !default; 16 | 17 | $toolbar_a: #a0a0a0 !default; 18 | $toolbar_a_hover: red !default; 19 | 20 | $code_plain: black !default; 21 | $code_comments: #3f5fbf !default; 22 | $code_string: #2a00ff !default; 23 | $code_keyword: #7f0055 !default; 24 | $code_preprocessor: #646464 !default; 25 | $code_variable: #aa7700 !default; 26 | $code_value: #009900 !default; 27 | $code_functions: #ff1493 !default; 28 | $code_constants: #0066cc !default; 29 | $code_color1: gray !default; 30 | $code_color2: #ff1493 !default; 31 | $code_color3: red !default; 32 | 33 | @import "_theme_template.scss"; 34 | 35 | .syntaxhighlighter { 36 | .keyword { font-weight: bold !important; } 37 | 38 | .xml { 39 | .keyword { 40 | color: #3f7f7f !important; 41 | font-weight: normal !important; } 42 | .color1, .color1 a { color: #7f007f !important; } 43 | .string { 44 | font-style: italic !important; 45 | color: #2a00ff !important; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeEmacs.scss: -------------------------------------------------------------------------------- 1 | // Emacs SyntaxHighlighter theme based on theme by Joshua Emmons 2 | // http://www.skia.net/ 3 | 4 | $background: black !default; 5 | 6 | $line_highlighted_background: #2A3133 !default; 7 | $line_highlighted_number: white !default; 8 | 9 | $gutter_text: #d3d3d3 !default; 10 | $gutter_border_color: #990000 !default; 11 | 12 | $toolbar_collapsed_a: #ebdb8d !default; 13 | $toolbar_collapsed_a_hover: #ff7d27 !default; 14 | $toolbar_collapsed_background: black !default; 15 | 16 | $toolbar_a: #fff !default; 17 | $toolbar_a_hover: #9ccff4 !default; 18 | 19 | $code_plain: #d3d3d3 !default; 20 | $code_comments: #ff7d27 !default; 21 | $code_string: #ff9e7b !default; 22 | $code_keyword: aqua !default; 23 | $code_preprocessor: #aec4de !default; 24 | $code_variable: #ffaa3e !default; 25 | $code_value: #009900 !default; 26 | $code_functions: #81cef9 !default; 27 | $code_constants: #ff9e7b !default; 28 | $code_color1: #ebdb8d !default; 29 | $code_color2: #ff7d27 !default; 30 | $code_color3: #aec4de !default; 31 | 32 | @import "_theme_template.scss"; 33 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeFadeToGrey.scss: -------------------------------------------------------------------------------- 1 | // Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager 2 | // :http//www.ibrasten.com/ 3 | 4 | $background: #121212 !default; 5 | 6 | $line_highlighted_background: #2C2C29 !default; 7 | $line_highlighted_number: white !default; 8 | 9 | $gutter_text: #afafaf !default; 10 | $gutter_border_color: #3185b9 !default; 11 | 12 | $toolbar_collapsed_a: #3185b9 !default; 13 | $toolbar_collapsed_a_hover: #d01d33 !default; 14 | $toolbar_collapsed_background: black !default; 15 | 16 | $toolbar_a: #fff !default; 17 | $toolbar_a_hover: #96daff !default; 18 | 19 | $code_plain: white !default; 20 | $code_comments: #696854 !default; 21 | $code_string: #e3e658 !default; 22 | $code_keyword: #d01d33 !default; 23 | $code_preprocessor: #435a5f !default; 24 | $code_variable: #898989 !default; 25 | $code_value: #009900 !default; 26 | $code_functions: #aaaaaa !default; 27 | $code_constants: #96daff !default; 28 | $code_color1: #ffc074 !default; 29 | $code_color2: #4a8cdb !default; 30 | $code_color3: #96daff !default; 31 | 32 | @import "_theme_template.scss"; 33 | 34 | .syntaxhighlighter { 35 | .functions { font-weight: bold !important; } 36 | } 37 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeMDUltra.scss: -------------------------------------------------------------------------------- 1 | // MDUltra SyntaxHighlighter theme based on Midnight Theme 2 | // http://www.mddev.co.uk/ 3 | 4 | $background: #222222 !default; 5 | 6 | $line_highlighted_background: #253e5a !default; 7 | $line_highlighted_number: white !default; 8 | 9 | $gutter_text: #38566f !default; 10 | $gutter_border_color: #435a5f !default; 11 | 12 | $toolbar_collapsed_a: #428bdd !default; 13 | $toolbar_collapsed_a_hover: lime !default; 14 | $toolbar_collapsed_background: black !default; 15 | 16 | $toolbar_a: #aaaaff !default; 17 | $toolbar_a_hover: #9ccff4 !default; 18 | 19 | $code_plain: lime !default; 20 | $code_comments: #428bdd !default; 21 | $code_string: lime !default; 22 | $code_keyword: #aaaaff !default; 23 | $code_preprocessor: #8aa6c1 !default; 24 | $code_variable: aqua !default; 25 | $code_value: #f7e741 !default; 26 | $code_functions: #ff8000 !default; 27 | $code_constants: yellow !default; 28 | $code_color1: red !default; 29 | $code_color2: yellow !default; 30 | $code_color3: #ffaa3e !default; 31 | 32 | @import "_theme_template.scss"; 33 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeMidnight.scss: -------------------------------------------------------------------------------- 1 | // Midnight SyntaxHighlighter theme based on theme by J.D. Myers 2 | // http://webdesign.lsnjd.com/ 3 | 4 | $background: #0f192a !default; 5 | 6 | $line_highlighted_background: #253e5a !default; 7 | $line_highlighted_number: #38566f !default; 8 | 9 | $gutter_text: #afafaf !default; 10 | $gutter_border_color: #435a5f !default; 11 | 12 | $toolbar_collapsed_a: #428bdd !default; 13 | $toolbar_collapsed_a_hover: #1dc116 !default; 14 | $toolbar_collapsed_background: #000 !default; 15 | 16 | $toolbar_a: #D1EDFF !default; 17 | $toolbar_a_hover: #8aa6c1 !default; 18 | 19 | $code_plain: #d1edff !default; 20 | $code_comments: #428bdd !default; 21 | $code_string: #1dc116 !default; 22 | $code_keyword: #b43d3d !default; 23 | $code_preprocessor: #8aa6c1 !default; 24 | $code_variable: #ffaa3e !default; 25 | $code_value: #f7e741 !default; 26 | $code_functions: #ffaa3e !default; 27 | $code_constants: #e0e8ff !default; 28 | $code_color1: #f8bb00 !default; 29 | $code_color2: white !default; 30 | $code_color3: #ffaa3e !default; 31 | 32 | @import "_theme_template.scss"; 33 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/compass/shThemeRDark.scss: -------------------------------------------------------------------------------- 1 | // RDark SyntaxHighlighter theme based on theme by Radu Dineiu 2 | // http://www.vim.org/scripts/script.php?script_id=1732 3 | 4 | $background: #1b2426 !default; 5 | 6 | $line_highlighted_background: #323E41 !default; 7 | $line_highlighted_number: #b9bdb6 !default; 8 | 9 | $gutter_text: #afafaf !default; 10 | $gutter_border_color: #435a5f !default; 11 | 12 | $toolbar_collapsed_a: #5ba1cf !default; 13 | $toolbar_collapsed_a_hover: #5ce638 !default; 14 | $toolbar_collapsed_background: #000 !default; 15 | 16 | $toolbar_a: #fff !default; 17 | $toolbar_a_hover: #e0e8ff !default; 18 | 19 | $code_plain: #b9bdb6 !default; 20 | $code_comments: #878a85 !default; 21 | $code_string: #5ce638 !default; 22 | $code_keyword: #5ba1cf !default; 23 | $code_preprocessor: #435a5f !default; 24 | $code_variable: #ffaa3e !default; 25 | $code_value: #009900 !default; 26 | $code_functions: #ffaa3e !default; 27 | $code_constants: #e0e8ff !default; 28 | $code_color1: #e0e8ff !default; 29 | $code_color2: white !default; 30 | $code_color3: #ffaa3e !default; 31 | 32 | @import "_theme_template.scss"; 33 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
16 | function helloSyntaxHighlighter() 17 | { 18 | return "hi!"; 19 | } 20 |21 | 22 | 23 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/scripts/shAutoloader.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d
\\\\w+)\\\\]$","U"),i=1,p=0;ptags to the document body 81 | for (i = 0; i < elements.length; i++) 82 | { 83 | var url = brushes[elements[i].params.brush]; 84 | 85 | if (!url) 86 | continue; 87 | 88 | scripts[url] = false; 89 | loadScript(url); 90 | } 91 | 92 | function loadScript(url) 93 | { 94 | var script = document.createElement('script'), 95 | done = false 96 | ; 97 | 98 | script.src = url; 99 | script.type = 'text/javascript'; 100 | script.language = 'javascript'; 101 | script.onload = script.onreadystatechange = function() 102 | { 103 | if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) 104 | { 105 | done = true; 106 | scripts[url] = true; 107 | checkAll(); 108 | 109 | // Handle memory leak in IE 110 | script.onload = script.onreadystatechange = null; 111 | script.parentNode.removeChild(script); 112 | } 113 | }; 114 | 115 | // sync way of adding script tags to the page 116 | document.body.appendChild(script); 117 | }; 118 | 119 | function checkAll() 120 | { 121 | for(var url in scripts) 122 | if (scripts[url] == false) 123 | return; 124 | 125 | if (allCalled) 126 | SyntaxHighlighter.highlight(allParams); 127 | }; 128 | }; 129 | 130 | })(); 131 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/src/shLegacy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | var dp = { 18 | SyntaxHighlighter : {} 19 | }; 20 | 21 | dp.SyntaxHighlighter = { 22 | parseParams: function( 23 | input, 24 | showGutter, 25 | showControls, 26 | collapseAll, 27 | firstLine, 28 | showColumns 29 | ) 30 | { 31 | function getValue(list, name) 32 | { 33 | var regex = new XRegExp('^' + name + '\\[(? \\w+)\\]$', 'gi'), 34 | match = null 35 | ; 36 | 37 | for (var i = 0; i < list.length; i++) 38 | if ((match = regex.exec(list[i])) != null) 39 | return match.value; 40 | 41 | return null; 42 | }; 43 | 44 | function defaultValue(value, def) 45 | { 46 | return value != null ? value : def; 47 | }; 48 | 49 | function asString(value) 50 | { 51 | return value != null ? value.toString() : null; 52 | }; 53 | 54 | var parts = input.split(':'), 55 | brushName = parts[0], 56 | options = {}, 57 | straight = { 'true' : true } 58 | reverse = { 'true' : false }, 59 | result = null, 60 | defaults = SyntaxHighlighter.defaults 61 | ; 62 | 63 | for (var i in parts) 64 | options[parts[i]] = 'true'; 65 | 66 | showGutter = asString(defaultValue(showGutter, defaults.gutter)); 67 | showControls = asString(defaultValue(showControls, defaults.toolbar)); 68 | collapseAll = asString(defaultValue(collapseAll, defaults.collapse)); 69 | showColumns = asString(defaultValue(showColumns, defaults.ruler)); 70 | firstLine = asString(defaultValue(firstLine, defaults['first-line'])); 71 | 72 | return { 73 | brush : brushName, 74 | gutter : defaultValue(reverse[options.nogutter], showGutter), 75 | toolbar : defaultValue(reverse[options.nocontrols], showControls), 76 | collapse : defaultValue(straight[options.collapse], collapseAll), 77 | // ruler : defaultValue(straight[options.showcolumns], showColumns), 78 | 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine) 79 | }; 80 | }, 81 | 82 | HighlightAll: function( 83 | name, 84 | showGutter /* optional */, 85 | showControls /* optional */, 86 | collapseAll /* optional */, 87 | firstLine /* optional */, 88 | showColumns /* optional */ 89 | ) 90 | { 91 | function findValue() 92 | { 93 | var a = arguments; 94 | 95 | for (var i = 0; i < a.length; i++) 96 | { 97 | if (a[i] === null) 98 | continue; 99 | 100 | if (typeof(a[i]) == 'string' && a[i] != '') 101 | return a[i] + ''; 102 | 103 | if (typeof(a[i]) == 'object' && a[i].value != '') 104 | return a[i].value + ''; 105 | } 106 | 107 | return null; 108 | }; 109 | 110 | function findTagsByName(list, name, tagName) 111 | { 112 | var tags = document.getElementsByTagName(tagName); 113 | 114 | for (var i = 0; i < tags.length; i++) 115 | if (tags[i].getAttribute('name') == name) 116 | list.push(tags[i]); 117 | } 118 | 119 | var elements = [], 120 | highlighter = null, 121 | registered = {}, 122 | propertyName = 'innerHTML' 123 | ; 124 | 125 | // for some reason IE doesn't find by name, however it does see them just fine by tag name... 126 | findTagsByName(elements, name, 'pre'); 127 | findTagsByName(elements, name, 'textarea'); 128 | 129 | if (elements.length === 0) 130 | return; 131 | 132 | for (var i = 0; i < elements.length; i++) 133 | { 134 | var element = elements[i], 135 | params = findValue( 136 | element.attributes['class'], element.className, 137 | element.attributes['language'], element.language 138 | ), 139 | language = '' 140 | ; 141 | 142 | if (params === null) 143 | continue; 144 | 145 | params = dp.SyntaxHighlighter.parseParams( 146 | params, 147 | showGutter, 148 | showControls, 149 | collapseAll, 150 | firstLine, 151 | showColumns 152 | ); 153 | 154 | SyntaxHighlighter.highlight(params, element); 155 | } 156 | } 157 | }; 158 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeDefault.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: white !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: white !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: white !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #e0e0e0 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: black !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: black !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #afafaf !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #6ce26c !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #6ce26c !important; 43 | color: white !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: blue !important; 53 | background: white !important; 54 | border: 1px solid #6ce26c !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: blue !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: red !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #6ce26c !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: black !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: black !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #008200 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: blue !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #006699 !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: gray !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #aa7700 !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ff1493 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #0066cc !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #006699 !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: gray !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #ff1493 !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: red !important; 113 | } 114 | 115 | .syntaxhighlighter .keyword { 116 | font-weight: bold !important; 117 | } 118 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeDjango.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: #0a2b1d !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: #0a2b1d !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: #0a2b1d !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #233729 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: #f8f8f8 !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #497958 !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #41a83e !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #41a83e !important; 43 | color: #0a2b1d !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #96dd3b !important; 53 | background: black !important; 54 | border: 1px solid #41a83e !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #96dd3b !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: white !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #41a83e !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #ffe862 !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: #f8f8f8 !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #336442 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #9df39f !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #96dd3b !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #91bb9e !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #ffaa3e !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #f7e741 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ffaa3e !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #e0e8ff !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #96dd3b !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #eb939a !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #91bb9e !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #edef7d !important; 113 | } 114 | 115 | .syntaxhighlighter .comments { 116 | font-style: italic !important; 117 | } 118 | .syntaxhighlighter .keyword { 119 | font-weight: bold !important; 120 | } 121 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeEclipse.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: white !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: white !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: white !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #c3defe !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: black !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #787878 !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #d4d0c8 !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #d4d0c8 !important; 43 | color: white !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #3f5fbf !important; 53 | background: white !important; 54 | border: 1px solid #d4d0c8 !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #3f5fbf !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #aa7700 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: #a0a0a0 !important; 64 | background: #d4d0c8 !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: #a0a0a0 !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: red !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: black !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #3f5fbf !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #2a00ff !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #7f0055 !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #646464 !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #aa7700 !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ff1493 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #0066cc !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #7f0055 !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: gray !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #ff1493 !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: red !important; 113 | } 114 | 115 | .syntaxhighlighter .keyword { 116 | font-weight: bold !important; 117 | } 118 | .syntaxhighlighter .xml .keyword { 119 | color: #3f7f7f !important; 120 | font-weight: normal !important; 121 | } 122 | .syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a { 123 | color: #7f007f !important; 124 | } 125 | .syntaxhighlighter .xml .string { 126 | font-style: italic !important; 127 | color: #2a00ff !important; 128 | } 129 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeEmacs.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: black !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: black !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: black !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #2a3133 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: #d3d3d3 !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #d3d3d3 !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #990000 !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #990000 !important; 43 | color: black !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #ebdb8d !important; 53 | background: black !important; 54 | border: 1px solid #990000 !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #ebdb8d !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #ff7d27 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #990000 !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #9ccff4 !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: #d3d3d3 !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #ff7d27 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #ff9e7b !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: aqua !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #aec4de !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #ffaa3e !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #81cef9 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #ff9e7b !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: aqua !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #ebdb8d !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #ff7d27 !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #aec4de !important; 113 | } 114 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeFadeToGrey.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: #121212 !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: #121212 !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: #121212 !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #2c2c29 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: white !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #afafaf !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #3185b9 !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #3185b9 !important; 43 | color: #121212 !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #3185b9 !important; 53 | background: black !important; 54 | border: 1px solid #3185b9 !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #3185b9 !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #d01d33 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #3185b9 !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #96daff !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: white !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #696854 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #e3e658 !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #d01d33 !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #435a5f !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #898989 !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #aaaaaa !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #96daff !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #d01d33 !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #ffc074 !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #4a8cdb !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #96daff !important; 113 | } 114 | 115 | .syntaxhighlighter .functions { 116 | font-weight: bold !important; 117 | } 118 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeMDUltra.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: #222222 !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: #222222 !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: #222222 !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #253e5a !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: lime !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #38566f !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #435a5f !important; 43 | color: #222222 !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #428bdd !important; 53 | background: black !important; 54 | border: 1px solid #435a5f !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #428bdd !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: lime !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: #aaaaff !important; 64 | background: #435a5f !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: #aaaaff !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #9ccff4 !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: lime !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #428bdd !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: lime !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #aaaaff !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #8aa6c1 !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: aqua !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #f7e741 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ff8000 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: yellow !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #aaaaff !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: red !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: yellow !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #ffaa3e !important; 113 | } 114 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeMidnight.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: #0f192a !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: #0f192a !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: #0f192a !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #253e5a !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: #38566f !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: #d1edff !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #afafaf !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #435a5f !important; 43 | color: #0f192a !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #428bdd !important; 53 | background: black !important; 54 | border: 1px solid #435a5f !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #428bdd !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #1dc116 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: #d1edff !important; 64 | background: #435a5f !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: #d1edff !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #8aa6c1 !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: #d1edff !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #428bdd !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #1dc116 !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #b43d3d !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #8aa6c1 !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #ffaa3e !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #f7e741 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ffaa3e !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #e0e8ff !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #b43d3d !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #f8bb00 !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: white !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #ffaa3e !important; 113 | } 114 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/styles/shThemeRDark.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: #1b2426 !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: #1b2426 !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: #1b2426 !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #323e41 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: #b9bdb6 !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: #b9bdb6 !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #afafaf !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #435a5f !important; 43 | color: #1b2426 !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #5ba1cf !important; 53 | background: black !important; 54 | border: 1px solid #435a5f !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #5ba1cf !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #5ce638 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #435a5f !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #e0e8ff !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: #b9bdb6 !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #878a85 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #5ce638 !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #5ba1cf !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #435a5f !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #ffaa3e !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ffaa3e !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #e0e8ff !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #5ba1cf !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #e0e8ff !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: white !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #ffaa3e !important; 113 | } 114 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/.rvmrc: -------------------------------------------------------------------------------- 1 | rvm 1.8.7-p249@copydeca -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/brushes_tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SyntaxHighlighter Brushes Tests 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 58 | 59 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/001_basic.html: -------------------------------------------------------------------------------- 1 |2 | /** 3 | * multiline comment 4 | */ 5 | 6 | text 7 | 8 | // single line comment 9 | 10 | text 11 | 12 | "string" text 'string' text "string" 13 | "string with \" escape" text 'string with \' escape' text "string with \" escape" 14 | 15 | var code = '\ 16 | function helloWorld()\ 17 | {\ 18 | // this is great!\ 19 | for(var i = 0; i <= 1; i++)\ 20 | alert("yay");\ 21 | }\ 22 | '; 23 |24 | 25 | 43 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/002_brushes.html: -------------------------------------------------------------------------------- 1 |2 |28 | 29 | 51 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/003_script_tag.html: -------------------------------------------------------------------------------- 1 |test3 |test4 |test5 |test6 |test7 |test8 |test9 |test10 |test11 |test12 |test13 |test14 |test15 |test16 |test17 |test18 |test19 |test20 |test21 |test22 |test23 |test24 |test25 |test26 |test27 |2 | 22 |23 | 24 | 43 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/004_url_parsing.html: -------------------------------------------------------------------------------- 1 |2 | /** 3 | * Please see <http://www.alexgorbatchev.come/?test=1&y=2> 4 | */ 5 | var home = "http://www.alexgorbatchev.come/?test=1&y=2;test/1/2/3;"; 6 | // < http://www.gnu.org/licenses/?test=1&y=2 >. 7 | 8 | // Test embedded URLs that terminate at a left angle bracket. 9 | // See bug #28: http://bitbucket.org/alexg/syntaxhighlighter/issue/28/ 10 | "12 | 13 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/005_no_gutter.html: -------------------------------------------------------------------------------- 1 |http://www.example.com/song2.mp3 "; 11 |2 | public Image getImage(URL url, String name) { 3 | try { 4 | /* 5 | Regular multiline comment. 6 | */ 7 | return getImage(new URL(url, name)); 8 | } catch (MalformedURLException e) { 9 | return null; 10 | } 11 | } 12 |13 | 14 | 34 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/006_pad_line_numbers.html: -------------------------------------------------------------------------------- 1 |2 | /** 3 | * Returns an Image object that can then be painted on the screen. 4 | * The url argument must specify an absolute {@link URL}. The name 5 | * argument is a specifier that is relative to the url argument. 6 | * 7 | * @param url an absolute URL giving the base location of the image 8 | * @param name the location of the image, relative to the url argument 9 | * @return the image at the specified URL 10 | * @see Image 11 | */ 12 |13 | 14 | 40 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/007_collapse.html: -------------------------------------------------------------------------------- 1 |2 | /** 3 | * Returns an Image object that can then be painted on the screen. 4 | * The url argument must specify an absolute {@link URL}. The name 5 | * argument is a specifier that is relative to the url argument. 6 | * 7 | * @param url an absolute URL giving the base location of the image 8 | * @param name the location of the image, relative to the url argument 9 | * @return the image at the specified URL 10 | * @see Image 11 | */ 12 |13 | 14 |15 | /** 16 | * Returns an Image object that can then be painted on the screen. 17 | * The url argument must specify an absolute {@link URL}. The name 18 | * argument is a specifier that is relative to the url argument. 19 | * 20 | * @param url an absolute URL giving the base location of the image 21 | * @param name the location of the image, relative to the url argument 22 | * @return the image at the specified URL 23 | * @see Image 24 | */ 25 |26 | 27 | 61 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/007_collapse_interaction.html: -------------------------------------------------------------------------------- 1 | 45 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/008_first_line.html: -------------------------------------------------------------------------------- 1 |2 | partial class Foo 3 | { 4 | function test() 5 | { 6 | yield return; 7 | } 8 | } 9 |10 | 11 | 30 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/009_class_name.html: -------------------------------------------------------------------------------- 1 |2 | public Image getImage(URL url, String name) { 3 | try { 4 | /* 5 | Regular multiline comment. 6 | */ 7 | return getImage(new URL(url, name)); 8 | } catch (MalformedURLException e) { 9 | return null; 10 | } 11 | } 12 |13 | 14 | 33 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/010_highlight.html: -------------------------------------------------------------------------------- 1 |2 | public function validateStrongPassword(password:String):Boolean 3 | { 4 | if (password == null || password.length <= 0) 5 | { 6 | return false; 7 | } 8 | 9 | return STRONG_PASSWORD_PATTERN.test(password); 10 | } 11 |12 | 40 | 41 | 71 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/011_smart_tabs.html: -------------------------------------------------------------------------------- 1 |2 | the words in this paragraph 3 | should look like they are 4 | evenly spaced between columns 5 |6 | 7 |8 | the words in this paragraph 9 | should look like they are 10 | evenly spaced between columns 11 |12 | 13 |14 | the words in this paragraph 15 | should look out of whack 16 | because smart tabs are disabled 17 |18 | 19 | 99 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/012_server_side.html: -------------------------------------------------------------------------------- 1 | 9 | 10 |11 |12 | 13 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/013_html_script.html: -------------------------------------------------------------------------------- 1 |2 | <hello> 3 | <% 4 | package free.cafekiwi.gotapi; 5 | %> 6 | </hello> 7 | 8 | 11 | <%= print(); %> 12 |13 | 14 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/cases/014_legacy.html: -------------------------------------------------------------------------------- 1 |basic check2 |no toolbar3 |no gutter4 |collapsed5 |first line6 | 7 | 71 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/commonjs_tests.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This is a CommonJS compatibility test. You can run this file with node. 3 | */ 4 | require.paths.unshift(__dirname + '/../scripts'); 5 | 6 | var sys = require('sys'), 7 | shSyntaxHighlighter = require('shCore').SyntaxHighlighter, 8 | code = 'test', 9 | brushes = [ 10 | 'AS3', 11 | 'AppleScript', 12 | 'Bash', 13 | 'CSharp', 14 | 'ColdFusion', 15 | 'Cpp', 16 | 'Css', 17 | 'Delphi', 18 | 'Diff', 19 | 'Erlang', 20 | 'Groovy', 21 | 'JScript', 22 | 'Java', 23 | 'JavaFX', 24 | 'Perl', 25 | 'Php', 26 | 'Plain', 27 | 'PowerShell', 28 | 'Python', 29 | 'Ruby', 30 | 'Sass', 31 | 'Scala', 32 | 'Sql', 33 | 'Vb', 34 | 'Xml' 35 | ] 36 | ; 37 | 38 | brushes.sort(); 39 | 40 | for (var i = 0; i < brushes.length; i++) 41 | { 42 | var name = brushes[i], 43 | brush = require('shBrush' + name).Brush 44 | ; 45 | 46 | brush = new brush(); 47 | brush.init({ toolbar: false }); 48 | 49 | var result = brush.getHtml(code); 50 | 51 | sys.puts(name + (result != null ? ': ok' : ': NOT OK')); 52 | } 53 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/js/qunit.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | 18 | ol#qunit-tests { 19 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 20 | margin:0; 21 | padding:0; 22 | list-style-position:inside; 23 | 24 | font-size: smaller; 25 | } 26 | ol#qunit-tests li{ 27 | padding:0.4em 0.5em 0.4em 2.5em; 28 | border-bottom:1px solid #fff; 29 | font-size:small; 30 | list-style-position:inside; 31 | } 32 | ol#qunit-tests li ol{ 33 | box-shadow: inset 0px 2px 13px #999; 34 | -moz-box-shadow: inset 0px 2px 13px #999; 35 | -webkit-box-shadow: inset 0px 2px 13px #999; 36 | margin-top:0.5em; 37 | margin-left:0; 38 | padding:0.5em; 39 | background-color:#fff; 40 | border-radius:15px; 41 | -moz-border-radius: 15px; 42 | -webkit-border-radius: 15px; 43 | } 44 | ol#qunit-tests li li{ 45 | border-bottom:none; 46 | margin:0.5em; 47 | background-color:#fff; 48 | list-style-position: inside; 49 | padding:0.4em 0.5em 0.4em 0.5em; 50 | } 51 | 52 | ol#qunit-tests li li.pass{ 53 | border-left:26px solid #C6E746; 54 | background-color:#fff; 55 | color:#5E740B; 56 | } 57 | ol#qunit-tests li li.fail{ 58 | border-left:26px solid #EE5757; 59 | background-color:#fff; 60 | color:#710909; 61 | } 62 | ol#qunit-tests li.pass{ 63 | background-color:#D2E0E6; 64 | color:#528CE0; 65 | } 66 | ol#qunit-tests li.fail{ 67 | background-color:#EE5757; 68 | color:#000; 69 | } 70 | ol#qunit-tests li strong { 71 | cursor:pointer; 72 | } 73 | h1#qunit-header{ 74 | background-color:#0d3349; 75 | margin:0; 76 | padding:0.5em 0 0.5em 1em; 77 | color:#fff; 78 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 79 | border-top-right-radius:15px; 80 | border-top-left-radius:15px; 81 | -moz-border-radius-topright:15px; 82 | -moz-border-radius-topleft:15px; 83 | -webkit-border-top-right-radius:15px; 84 | -webkit-border-top-left-radius:15px; 85 | text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px; 86 | } 87 | h2#qunit-banner{ 88 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 89 | height:5px; 90 | margin:0; 91 | padding:0; 92 | } 93 | h2#qunit-banner.qunit-pass{ 94 | background-color:#C6E746; 95 | } 96 | h2#qunit-banner.qunit-fail, #qunit-testrunner-toolbar { 97 | background-color:#EE5757; 98 | } 99 | #qunit-testrunner-toolbar { 100 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 101 | padding:0; 102 | /*width:80%;*/ 103 | padding:0em 0 0.5em 2em; 104 | font-size: small; 105 | } 106 | h2#qunit-userAgent { 107 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 108 | background-color:#2b81af; 109 | margin:0; 110 | padding:0; 111 | color:#fff; 112 | font-size: small; 113 | padding:0.5em 0 0.5em 2.5em; 114 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; 115 | } 116 | p#qunit-testresult{ 117 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 118 | margin:0; 119 | font-size: small; 120 | color:#2b81af; 121 | border-bottom-right-radius:15px; 122 | border-bottom-left-radius:15px; 123 | -moz-border-radius-bottomright:15px; 124 | -moz-border-radius-bottomleft:15px; 125 | -webkit-border-bottom-right-radius:15px; 126 | -webkit-border-bottom-left-radius:15px; 127 | background-color:#D2E0E6; 128 | padding:0.5em 0.5em 0.5em 2.5em; 129 | } 130 | strong b.fail{ 131 | color:#710909; 132 | } 133 | strong b.pass{ 134 | color:#5E740B; 135 | } 136 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/theme_tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |SyntaxHighlighter Theme Tests 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 26 | 27 | 67 | 68 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/webrick.rb: -------------------------------------------------------------------------------- 1 | require 'webrick' 2 | include WEBrick 3 | 4 | s = HTTPServer.new( 5 | :Port => 2010, 6 | :DocumentRoot => Dir::pwd 7 | ) 8 | s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts') 9 | s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles') 10 | trap('INT') { s.stop } 11 | s.start 12 | -------------------------------------------------------------------------------- /syntax_highlighter/syntaxhighlighter_3.0.83/tests/webrick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ruby webrick.rb 3 | --------------------------------------------------------------------------------