Lines Matching refs:highlight
57 * **html-script**: Allows you to highlight a mixture of HTML/XML code and a script which is very co…
65 <sxh php; first-line: 70; highlight: [89,92]; title: New title attribute in action>
108 Double click anywhere inside SyntaxHighlighter code area to highlight the text and then copy it usi…
116 <sxh php; highlight: [9-18]>
117 // Check highlight attr for lines ranges
118 if (preg_match("/highlight:/i", $attr, $matches)) {
119 // Extract highlight from $attr string.
121 $highlight_array = preg_grep("/highlight:/i", $attr_array);
122 // Extract everything BUT highlight from $attr string.
123 $not_highlight_array = preg_grep("/highlight:/i", $attr_array, PREG_GREP_INVERT);
127 $highlight_str = preg_replace("/.*highlight:\s{0,}(.*)/i","$1", $highlight_str);
133 if (!empty($highlight)) {
134 $highlight .= ',';
141 $highlight .= ',';
143 $highlight .= $lineNumber;
146 $highlight .= $highlight_elt;
149 $highlight = ' highlight: [' . $highlight . ']';
156 