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/brainfuc...
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: Brainfuck 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/edit/matchbrackets.js"></script>
[8] Fix | Delete
<script src="./brainfuck.js"></script>
[9] Fix | Delete
<style>
[10] Fix | Delete
.CodeMirror { border: 2px inset #dee; }
[11] Fix | Delete
</style>
[12] Fix | Delete
<div id=nav>
[13] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[14] Fix | Delete
[15] Fix | Delete
<ul>
[16] Fix | Delete
<li><a href="../../index.html">Home</a>
[17] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[18] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[19] Fix | Delete
</ul>
[20] Fix | Delete
<ul>
[21] Fix | Delete
<li><a href="../index.html">Language modes</a>
[22] Fix | Delete
<li><a class=active href="#"></a>
[23] Fix | Delete
</ul>
[24] Fix | Delete
</div>
[25] Fix | Delete
[26] Fix | Delete
<article>
[27] Fix | Delete
<h2>Brainfuck mode</h2>
[28] Fix | Delete
<form><textarea id="code" name="code">
[29] Fix | Delete
[ This program prints "Hello World!" and a newline to the screen, its
[30] Fix | Delete
length is 106 active command characters [it is not the shortest.]
[31] Fix | Delete
[32] Fix | Delete
This loop is a "comment loop", it's a simple way of adding a comment
[33] Fix | Delete
to a BF program such that you don't have to worry about any command
[34] Fix | Delete
characters. Any ".", ",", "+", "-", "&lt;" and "&gt;" characters are simply
[35] Fix | Delete
ignored, the "[" and "]" characters just have to be balanced.
[36] Fix | Delete
]
[37] Fix | Delete
+++++ +++ Set Cell #0 to 8
[38] Fix | Delete
[
[39] Fix | Delete
&gt;++++ Add 4 to Cell #1; this will always set Cell #1 to 4
[40] Fix | Delete
[ as the cell will be cleared by the loop
[41] Fix | Delete
&gt;++ Add 2 to Cell #2
[42] Fix | Delete
&gt;+++ Add 3 to Cell #3
[43] Fix | Delete
&gt;+++ Add 3 to Cell #4
[44] Fix | Delete
&gt;+ Add 1 to Cell #5
[45] Fix | Delete
&lt;&lt;&lt;&lt;- Decrement the loop counter in Cell #1
[46] Fix | Delete
] Loop till Cell #1 is zero; number of iterations is 4
[47] Fix | Delete
&gt;+ Add 1 to Cell #2
[48] Fix | Delete
&gt;+ Add 1 to Cell #3
[49] Fix | Delete
&gt;- Subtract 1 from Cell #4
[50] Fix | Delete
&gt;&gt;+ Add 1 to Cell #6
[51] Fix | Delete
[&lt;] Move back to the first zero cell you find; this will
[52] Fix | Delete
be Cell #1 which was cleared by the previous loop
[53] Fix | Delete
&lt;- Decrement the loop Counter in Cell #0
[54] Fix | Delete
] Loop till Cell #0 is zero; number of iterations is 8
[55] Fix | Delete
[56] Fix | Delete
The result of this is:
[57] Fix | Delete
Cell No : 0 1 2 3 4 5 6
[58] Fix | Delete
Contents: 0 0 72 104 88 32 8
[59] Fix | Delete
Pointer : ^
[60] Fix | Delete
[61] Fix | Delete
&gt;&gt;. Cell #2 has value 72 which is 'H'
[62] Fix | Delete
&gt;---. Subtract 3 from Cell #3 to get 101 which is 'e'
[63] Fix | Delete
+++++++..+++. Likewise for 'llo' from Cell #3
[64] Fix | Delete
&gt;&gt;. Cell #5 is 32 for the space
[65] Fix | Delete
&lt;-. Subtract 1 from Cell #4 for 87 to give a 'W'
[66] Fix | Delete
&lt;. Cell #3 was set to 'o' from the end of 'Hello'
[67] Fix | Delete
+++.------.--------. Cell #3 for 'rl' and 'd'
[68] Fix | Delete
&gt;&gt;+. Add 1 to Cell #5 gives us an exclamation point
[69] Fix | Delete
&gt;++. And finally a newline from Cell #6
[70] Fix | Delete
</textarea></form>
[71] Fix | Delete
[72] Fix | Delete
<script>
[73] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[74] Fix | Delete
lineNumbers: true,
[75] Fix | Delete
matchBrackets: true,
[76] Fix | Delete
mode: "text/x-brainfuck"
[77] Fix | Delete
});
[78] Fix | Delete
</script>
[79] Fix | Delete
[80] Fix | Delete
<p>A mode for Brainfuck</p>
[81] Fix | Delete
[82] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/x-brainfuck</code></p>
[83] Fix | Delete
</article>
[84] Fix | Delete
[85] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function