<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<head>
<style>.content {
padding: 20px;
height: 100%;
width: 944px;
margin-left: auto;
margin-right: auto;
}
.fold {
width: 20px;
float: left;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.number {
width: 45px;
float: left;
margin-right: 10px;
text-align: right;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line {
}
.content {
font-family: "Monospace";
font-size: 1em;
background: #3f3f3f;
color: White;
width: 944px;
padding: 20px;
height: 100%;
margin-left: auto;
margin-right: auto;
}
font.Alert {
color: Yellow;
font-weight: bold;
}
font.Annotation {
color: Yellow;
font-style: italic;
}
font.Attribute {
color: LightPink;
}
font.BaseN {
color: Gold;
}
font.BuiltIn {
color: Coral;
}
font.Char {
color: Cyan;
}
font.Comment {
color: Beige;
font-style: italic;
}
font.CommentVar {
color: LightBlue;
font-style: italic;
}
font.Constant {
color: White;
font-weight: bold;
}
font.ControlFlow {
color: DeepPink;
}
font.DataType {
color: CadetBlue;
}
font.DecVal {
color: MediumPurple;
font-weight: bold;
}
font.Documentation {
color: Gold;
font-style: italic;
}
font.Error {
color: Red;
font-weight: bold;
}
font.Extension {
color: DarkGray;
font-weight: bold;
}
font.Float {
color: DarkViolet;
font-weight: bold;
}
font.Function {
color: RosyBrown;
}
font.Import {
color: PaleVioletRed;
}
font.Information {
color: LightGreen;
font-style: italic;
}
font.Keyword {
color: LightGreen;
font-weight: bold;
}
font.Normal {
color: White;
}
font.Operator {
color: Magenta;
}
font.Others {
color: GreenYellow;
}
font.Preprocessor {
color: DarkSeaGreen ;
font-weight: bold;
}
font.RegionMarker {
color: Plum;
}
font.SpecialChar {
color: Plum;
font-weight: bold;
}
font.SpecialString {
color: LightBlue;
}
font.String {
color: MediumAquaMarine;
}
font.Variable {
color: Turquoise;
font-weight: bold;
}
font.VerbatimString {
color: LightSkyBlue;
}
font.Warning {
color: Brown;
font-weight: bold;
}
</style>
<title>Kamelon output</title>
</head>
<body>
<div class="content">
<div id="1" class="line"><font class="Comment">#! /bin/env pike</font></br></div>
<div id="2" class="line"></br></div>
<div id="3" class="line"><font class="Comment">/* This file is a syntax highlight test for Kate.</font></br></div>
<div id="4" class="line"><font class="Comment"> * </font><font class="Alert">FIXME:</font><font class="Comment"> Improve it to contain more (and more unusual) syntax examples.</font></br></div>
<div id="5" class="line"><font class="Comment"> */</font></br></div>
<div id="6" class="line"></br></div>
<div id="7" class="line"></br></div>
<div id="8" class="line"><font class="Others">#define PIKE_ON_THE_WEB </font><font class="Comment">/* Is this address correct? */</font><font class="Others"> </font><font class="String">"http://pike.ida.liu.se/"</font></br></div>
<div id="9" class="line"></br></div>
<div id="10" class="line"></br></div>
<div id="11" class="line"><font class="DataType">int</font><font class="Normal"> main(</font><font class="DataType">int</font><font class="Normal"> argc, </font><font class="DataType">array</font><font class="Normal">(</font><font class="DataType">string</font><font class="Normal">) args)</font></br></div>
<div id="12" class="line"><font class="Normal">{</font></br></div>
<div id="13" class="line"><font class="Normal"> </font><font class="Comment">// Write funny things with Pike :)</font></br></div>
<div id="14" class="line"><font class="Normal"> write(</font><font class="Function">`+</font><font class="Normal">(</font><font class="String">"Command line arguments (%d of them): "</font><font class="Normal">, @map(args, </font><font class="Function">`+</font><font class="Normal">, </font><font class="String">" "</font><font class="Normal">)) + </font><font class="String">"</font><font class="Char">\n</font><font class="String">"</font><font class="Normal">, argc);</font></br></div>
<div id="15" class="line"><font class="Normal"> </font></br></div>
<div id="16" class="line"><font class="Normal"> write(</font><font class="String">"</font><font class="Char">\n</font><font class="String">Visit Pike site at %s</font><font class="Char">\n\n</font><font class="String">"</font><font class="Normal">, PIKE_ON_THE_WEB);</font></br></div>
<div id="17" class="line"></br></div>
<div id="18" class="line"><font class="Normal"> </font><font class="Keyword">for</font><font class="Normal"> (</font><font class="DataType">int</font><font class="Normal"> i = </font><font class="Float">1</font><font class="Normal">; i <= </font><font class="Float">3</font><font class="Normal">; i++)</font></br></div>
<div id="19" class="line"><font class="Normal"> write(</font><font class="String">":"</font><font class="Normal"> + </font><font class="String">")"</font><font class="Normal"> * i + </font><font class="String">" "</font><font class="Normal">);</font></br></div>
<div id="20" class="line"></br></div>
<div id="21" class="line"><font class="Normal"> write(</font><font class="String">"</font><font class="Char">\n</font><font class="String">"</font><font class="Normal"> + ({</font><font class="String">"Bye"</font><font class="Normal">, </font><font class="String">"bye"</font><font class="Normal">}) * </font><font class="String">"-"</font><font class="Normal"> + </font><font class="String">"!</font><font class="Char">\n</font><font class="String">"</font><font class="Normal">);</font></br></div>
<div id="22" class="line"></br></div>
<div id="23" class="line"><font class="Normal"> </font><font class="Keyword">return</font><font class="Normal"> </font><font class="Float">0</font><font class="Normal">;</font></br></div>
<div id="24" class="line"><font class="Normal">}</font></br></div>
</div>
</body>
</html>