/usr/share/codeblocks/lexers/lexer_html.sample is in codeblocks-common 13.12-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<?php
/*
* This is a PHP multi-line comment.
* This is a PHP multi-line comment.
*/
function myfunction($a = 'hello', $b = 5, $c = "something")
{
// PHP Single line comment
for($i = 0; $i < 5; $i++)
{
echo $a, " $b <br />",$c,'<br />';
?>
<p>This is inside a PHP loop!</p>
<?php
}
}
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<title>HTML Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script type="text/javascript">
<!--
function myfunc()
{
var i;
for(i = 0;i < 5; i++)
{
alert('This is an annoying message!');
}
}
myfunc();
-->
</script>
<div id="wrapper">
<div id="header">
</div>
<!-- end #header -->
<div id="navigation">
</div>
<!-- end #navigation -->
<div id="content">
<p>
Loreum ipsum.
</p>
</div>
<!-- end #content -->
<div id="footer">
<p>
© 2006 Code::Blocks.
</p>
</div>
<!-- end #footer -->
<bad />
</div>
</body>
</html>
|