HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //usr/share/enscript/hl/style_msvc.st
/* MS Visual C -styled style */

state style_msvc
{
  BEGIN {
    /* This is really boring style. */
    call (default_faces);

    face_bold 		= make_face (bold_font, 1, 0);
    face_italic		= make_face (italic_font, 0, 1);
    face_bold_italic	= make_face (bold_italic_font, 1, 1);
    face_function_name	= make_face (font, 0, 0);
    face_variable_name	= make_face (font, 0, 0);
    face_string		= make_face (font, 0, 0);
    face_builtin	= make_face (font, 0, 0);

    /* These are the only faces which are highlighted. */
    if (color)
      {
	face_comment			= make_face (font, 0, 0);
	face_comment[fg_color] 		= language_color("forest green");

	face_keyword			= make_face (font, 0, 0);
	face_keyword[fg_color] 		= language_color("blue");

	face_type			= make_face (font, 0, 0);
	face_type[fg_color] 		= language_color("blue");

	face_reference			= make_face (font, 0, 0);
	face_reference[fg_color]	= language_color("blue");
      }
    else
      {
	face_comment	= make_face (italic_font, 1, 0);
	face_keyword	= make_face (bold_font, 1, 0);
	face_type	= make_face (bold_font, 1, 0);
	face_reference	= make_face (bold_font, 1, 0);
      }

    return;
  }
}


/*
Local variables:
mode: c
End:
*/