Lines Matching refs:styles

349      * The styles for hyperlinks in the code
434 * Line number styles
440 * Line number styles for fancy lines
833 * Sets the styles for the code that will be outputted
838 * @param boolean $preserve_defaults Whether to merge the styles with the current styles or not
886 * true, then styles are merged with the default styles, with the
887 * user defined styles having priority
895 * @param boolean $preserve_defaults Whether to merge the current styles with the new styles
907 * Sets the styles for the line numbers.
912 * defines whether the normal styles should be merged with the
913 * new normal styles or not
915 * styles with the current styles or not
925 //Actually set the new styles
986 * true, then styles are merged with the default styles, with the
987 * user defined styles having priority
989 * @param int $key The key of the keyword group to change the styles of
991 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1031 * Sets the styles for comment groups. If $preserve_defaults is
1032 * true, then styles are merged with the default styles, with the
1033 * user defined styles having priority
1035 * @param int $key The key of the comment group to change the styles of
1037 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1071 * Sets the styles for escaped characters. If $preserve_defaults is
1072 * true, then styles are merged with the default styles, with the
1073 * user defined styles having priority
1076 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1100 * Sets the styles for brackets. If $preserve_defaults is
1101 * true, then styles are merged with the default styles, with the
1102 * user defined styles having priority
1108 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1136 * Sets the styles for symbols. If $preserve_defaults is
1137 * true, then styles are merged with the default styles, with the
1138 * user defined styles having priority
1141 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1175 * Sets the styles for strings. If $preserve_defaults is
1176 * true, then styles are merged with the default styles, with the
1177 * user defined styles having priority
1180 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1204 * Sets the styles for strict code blocks. If $preserve_defaults is
1205 * true, then styles are merged with the default styles, with the
1206 * user defined styles having priority
1209 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1224 * Sets the styles for numbers. If $preserve_defaults is
1225 * true, then styles are merged with the default styles, with the
1226 * user defined styles having priority
1229 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1253 * Sets the styles for methods. $key is a number that references the
1256 * true, then styles are merged with the default styles, with the
1257 * user defined styles having priority
1259 * @param int $key The key of the object splitter to change the styles of
1261 * @param boolean $preserve_defaults Whether to merge the new styles with the old or just
1284 * Sets the styles for regexps. If $preserve_defaults is
1285 * true, then styles are merged with the default styles, with the
1286 * user defined styles having priority
1289 * @param boolean $style Whether to merge the new styles with the old or just
1291 * @param bool $preserve_defaults Whether to merge the new styles with the old or just
1615 * @param string $styles The styles for the keyword group
1621 public function add_keyword_group($key, $styles, $case_sensitive = true, $words = array()) {
1632 $this->language_data['STYLES']['KEYWORDS'][$key] = $styles;
1753 * Sets styles for links in code
1757 * @param string $styles The styles to use for that state
1760 public function set_link_styles($type, $styles) {
1761 $this->link_styles[$type] = $styles;
1779 * Sets styles for important parts of the code
1781 * @param string $styles The styles to use on important parts of the code
1784 public function set_important_styles($styles) {
1785 $this->important_styles = $styles;
1850 * @param string $styles The style for extra-highlighted lines
1853 public function set_highlight_lines_extra_style($styles) {
1854 $this->highlight_extra_lines_style = $styles;
3147 // html so that < or > would be allowed in user's styles
3407 // Basically, we don't put the styles in yet because then the styles themselves will
3469 // Now that's all done, replace /[number]/ with the correct styles
3483 // Put number styles in
3488 //Checking for unset styles is done by the style cache builder ...
3495 //Set in the correct styles ...
3568 // if we have multiple styles, we have to handle them properly
3801 //NEW in 1.0.8: Allow styles to be loaded from a separate file to override defaults
3812 //Apply the new styles to our current language styles
3885 // This style "covers up" the special styles set for special lines
3886 // so that styles applied to special lines don't apply to the actual
3919 //Is this some line with extra styles???
3972 // This style "covers up" the special styles set for special lines
3973 // so that styles applied to special lines don't apply to the actual
3980 //Is this some line with extra styles???
4020 // This style "covers up" the special styles set for special lines
4021 // so that styles applied to special lines don't apply to the actual
4028 //Is this some line with extra styles???
4357 // of '' means that these styles will be applied anywhere
4389 // <pre> or <div> container). Additionally, set default styles for lines
4395 // Add overall styles
4396 // note: neglect economy_mode, empty styles are meaningless
4401 // Add styles for links
4425 // note: neglect economy_mode, empty styles are meaningless
4434 // note: neglect economy_mode, empty styles are meaningless
4439 // Simple line number styles
4451 // note: empty styles are meaningless
4452 foreach ($this->language_data['STYLES']['KEYWORDS'] as $group => $styles) {
4453 if ($styles != '' && (!$economy_mode ||
4456 $stylesheet .= "$selector.kw$group {{$styles}}\n";
4459 foreach ($this->language_data['STYLES']['COMMENTS'] as $group => $styles) {
4460 if ($styles != '' && (!$economy_mode ||
4465 $stylesheet .= "$selector.co$group {{$styles}}\n";
4468 foreach ($this->language_data['STYLES']['ESCAPE_CHAR'] as $group => $styles) {
4469 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['ESCAPE_CHAR'])) {
4474 $stylesheet .= "$selector.es$group {{$styles}}\n";
4477 foreach ($this->language_data['STYLES']['BRACKETS'] as $group => $styles) {
4478 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['BRACKETS'])) {
4479 $stylesheet .= "$selector.br$group {{$styles}}\n";
4482 foreach ($this->language_data['STYLES']['SYMBOLS'] as $group => $styles) {
4483 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['SYMBOLS'])) {
4484 $stylesheet .= "$selector.sy$group {{$styles}}\n";
4487 foreach ($this->language_data['STYLES']['STRINGS'] as $group => $styles) {
4488 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['STRINGS'])) {
4493 $stylesheet .= "$selector.st$group {{$styles}}\n";
4496 foreach ($this->language_data['STYLES']['NUMBERS'] as $group => $styles) {
4497 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['NUMBERS'])) {
4498 $stylesheet .= "$selector.nu$group {{$styles}}\n";
4501 foreach ($this->language_data['STYLES']['METHODS'] as $group => $styles) {
4502 if ($styles != '' && (!$economy_mode || $this->lexic_permissions['METHODS'])) {
4503 $stylesheet .= "$selector.me$group {{$styles}}\n";
4506 // note: neglect economy_mode, empty styles are meaningless
4507 foreach ($this->language_data['STYLES']['SCRIPT'] as $group => $styles) {
4508 if ($styles != '') {
4509 $stylesheet .= "$selector.sc$group {{$styles}}\n";
4512 foreach ($this->language_data['STYLES']['REGEXPS'] as $group => $styles) {
4513 if ($styles != '' && (!$economy_mode ||
4520 $stylesheet .= " {{$styles}}\n";
4522 $stylesheet .= "$selector.re$group {{$styles}}\n";