• Home
  • Raw
  • Download

Lines Matching refs:styles

282 …he advanced features of GeSHi - strict mode, using CSS classes, changing styles on the fly, disabl…
292 But if you don't like <pre> or it looks stupid in your browser no matter what styles you try to app…
298 … block around the highlighted source even if this wasn't necessary, thus styles that are applied t…
312 The default styles for the <pre> and <div> will be different, especially if you use line numbers!. …
339styles inheriting from styles meant for the code. Also, this solves an important issue about selec…
351 …ult, the styles you pass overwrite the current styles. Add a boolean "true" after the styles you s…
360 When you set line number styles, the code will inherit those styles! This is the main issue to come…
366 …3. Use set_code_style() to explicitly override the styles you set for line numbers using set_line_…
384 Using CSS to highlight your code instead of in-lining the styles is a definate bonus. Not only is i…
394 …source will use CSS classes in the output, otherwise it will in-line the styles. The advantages of…
397 There have been problems with inline styles and the Symbol Highlighting added in 1.0.7.21. If you c…
457 // Methods are called on $geshi3 to change styles...
495 …you need to. However, using this will render the methods that change the styles of the code useles…
498 …ses them (PHP and XML are two languages that use them), and keyword-link styles. However, this scr…
502 …change the style of the output dynamically. Why be chained to the boring styles the language autho…
504 If you're confused about "styles", you probably want to have a quick tutorial in them so you know w…
509 $geshi->set_overall_style('... styles ...');
511 Where styles is a string containing valid CSS declarations. By default, these styles overwrite the …
514 The default styles "shine through" wherever anything isn't highlighted. Also, you can apply more ad…
525 Line number styles are set by using the method set_line_style:
535 In addition, the styles for fancy line numbers is now the difference between the normal styles and …
541 The font-weight: bold; will automatically carry through to the fancy styles. This is actually a sma…
545 …most regular change you will make will be to the styles of a keyword set. In order to change the s…
547 To change the styles for a keyword set, call the set_keyword_group_style() method:
548 $geshi->set_keyword_group_style($group, $styles);
550 Where $group is the group to change the styles for and $styles is a string containing the styles to…
552 …ault, the styles you pass overwrite the current styles. Add a boolean true after the styles you sp…
557 To change the styles for a comment group, call the set_comments_style() method:
558 $geshi->set_comments_style($group, $styles);
564 …ault, the styles you pass overwrite the current styles. Add a boolean true after the styles you sp…
568 …ts called "COMMENT_REGEXP" has been added. Those are handled by setting single line comment styles.
573 $geshi->set_escape_characters_style($styles[, $preserve_defaults]);
574 $geshi->set_symbols_style($styles[, $preserve_defaults]);
575 $geshi->set_strings_style($styles[, $preserve_defaults]);
576 $geshi->set_numbers_style($styles[, $preserve_defaults]);
577 $geshi->set_methods_style($key, $styles[, $preserve_defaults]);
578 $geshi->set_regexps_style($key, $styles[, $preserve_defaults]);
580styles is a string containing valid stylesheet declarations, while $preserve_defaults should be se…
582 …ls for which you'd like to change your style. $geshi->set_symbols_style($styles[, $preserve_defaul…
789 $geshi->add_keyword_group($key, $styles, $case_sensitive, $words);
791 Where $key is the key that you want to use to refer to this group, $styles is the styles that you w…
837 You can apply styles to the header content you have set with the set_header_content_style:
838 $geshi->set_header_content_style($styles);
840 Where $styles is the stylesheet declarations you want to use to style the header content.
844 You can apply styles to the footer content you have set with the set_footer_content_style:
845 $geshi->set_footer_content_style($styles);
847 Where $styles is the stylesheet declarations you want to use to style the footer content.
880 $geshi->set_link_styles($mode, $styles);
889 And $styles is the stylesheet declarations to apply to the links.
894 $geshi->set_link_target($target, $styles);
958 $geshi->set_highlight_lines_extra_style($styles);
960 Where $styles is the stylesheet declarations that you want to apply to highlighted lines.
1493 …ht. Every array will need to have an unique index thus you can assign the appropriate styles later.
1572 … to the rules you specify (and will do so if a user tries to change your styles on the fly), so th…
1706 …the format of the above. The indices are use in the 'SCRIPT' part of the styles section for highli…
1734 …e, and I don't reccommend doing it this way. And yes, you can borrow the styles if you like, thoug…