Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/htmlmixe...
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: HTML mixed mode</title>
[2] Fix | Delete
<meta charset="utf-8"/>
[3] Fix | Delete
<link rel=stylesheet href="../../doc/docs.css">
[4] Fix | Delete
[5] Fix | Delete
<link rel="stylesheet" href="../../lib/codemirror.css">
[6] Fix | Delete
<script src="../../lib/codemirror.js"></script>
[7] Fix | Delete
<script src="../../addon/selection/selection-pointer.js"></script>
[8] Fix | Delete
<script src="../xml/xml.js"></script>
[9] Fix | Delete
<script src="../javascript/javascript.js"></script>
[10] Fix | Delete
<script src="../css/css.js"></script>
[11] Fix | Delete
<script src="../vbscript/vbscript.js"></script>
[12] Fix | Delete
<script src="htmlmixed.js"></script>
[13] Fix | Delete
<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
[14] Fix | Delete
<div id=nav>
[15] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[16] Fix | Delete
[17] Fix | Delete
<ul>
[18] Fix | Delete
<li><a href="../../index.html">Home</a>
[19] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[20] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[21] Fix | Delete
</ul>
[22] Fix | Delete
<ul>
[23] Fix | Delete
<li><a href="../index.html">Language modes</a>
[24] Fix | Delete
<li><a class=active href="#">HTML mixed</a>
[25] Fix | Delete
</ul>
[26] Fix | Delete
</div>
[27] Fix | Delete
[28] Fix | Delete
<article>
[29] Fix | Delete
<h2>HTML mixed mode</h2>
[30] Fix | Delete
<form><textarea id="code" name="code">
[31] Fix | Delete
<html style="color: green">
[32] Fix | Delete
<!-- this is a comment -->
[33] Fix | Delete
<head>
[34] Fix | Delete
<title>Mixed HTML Example</title>
[35] Fix | Delete
<style type="text/css">
[36] Fix | Delete
h1 {font-family: comic sans; color: #f0f;}
[37] Fix | Delete
div {background: yellow !important;}
[38] Fix | Delete
body {
[39] Fix | Delete
max-width: 50em;
[40] Fix | Delete
margin: 1em 2em 1em 5em;
[41] Fix | Delete
}
[42] Fix | Delete
</style>
[43] Fix | Delete
</head>
[44] Fix | Delete
<body>
[45] Fix | Delete
<h1>Mixed HTML Example</h1>
[46] Fix | Delete
<script>
[47] Fix | Delete
function jsFunc(arg1, arg2) {
[48] Fix | Delete
if (arg1 && arg2) document.body.innerHTML = "achoo";
[49] Fix | Delete
}
[50] Fix | Delete
</script>
[51] Fix | Delete
</body>
[52] Fix | Delete
</html>
[53] Fix | Delete
</textarea></form>
[54] Fix | Delete
<script>
[55] Fix | Delete
// Define an extended mixed-mode that understands vbscript and
[56] Fix | Delete
// leaves mustache/handlebars embedded templates in html mode
[57] Fix | Delete
var mixedMode = {
[58] Fix | Delete
name: "htmlmixed",
[59] Fix | Delete
scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i,
[60] Fix | Delete
mode: null},
[61] Fix | Delete
{matches: /(text|application)\/(x-)?vb(a|script)/i,
[62] Fix | Delete
mode: "vbscript"}]
[63] Fix | Delete
};
[64] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[65] Fix | Delete
mode: mixedMode,
[66] Fix | Delete
selectionPointer: true
[67] Fix | Delete
});
[68] Fix | Delete
</script>
[69] Fix | Delete
[70] Fix | Delete
<p>The HTML mixed mode depends on the XML, JavaScript, and CSS modes.</p>
[71] Fix | Delete
[72] Fix | Delete
<p>It takes an optional mode configuration
[73] Fix | Delete
option, <code>scriptTypes</code>, which can be used to add custom
[74] Fix | Delete
behavior for specific <code>&lt;script type="..."></code> tags. If
[75] Fix | Delete
given, it should hold an array of <code>{matches, mode}</code>
[76] Fix | Delete
objects, where <code>matches</code> is a string or regexp that
[77] Fix | Delete
matches the script type, and <code>mode</code> is
[78] Fix | Delete
either <code>null</code>, for script types that should stay in
[79] Fix | Delete
HTML mode, or a <a href="../../doc/manual.html#option_mode">mode
[80] Fix | Delete
spec</a> corresponding to the mode that should be used for the
[81] Fix | Delete
script.</p>
[82] Fix | Delete
[83] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/html</code>
[84] Fix | Delete
(redefined, only takes effect if you load this parser after the
[85] Fix | Delete
XML parser).</p>
[86] Fix | Delete
[87] Fix | Delete
</article>
[88] Fix | Delete
[89] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function