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/apl
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: APL 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="./apl.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="#">APL</a>
[23] Fix | Delete
</ul>
[24] Fix | Delete
</div>
[25] Fix | Delete
[26] Fix | Delete
<article>
[27] Fix | Delete
<h2>APL mode</h2>
[28] Fix | Delete
<form><textarea id="code" name="code">
[29] Fix | Delete
⍝ Conway's game of life
[30] Fix | Delete
[31] Fix | Delete
⍝ This example was inspired by the impressive demo at
[32] Fix | Delete
⍝ http://www.youtube.com/watch?v=a9xAKttWgP4
[33] Fix | Delete
[34] Fix | Delete
⍝ Create a matrix:
[35] Fix | Delete
⍝ 0 1 1
[36] Fix | Delete
⍝ 1 1 0
[37] Fix | Delete
⍝ 0 1 0
[38] Fix | Delete
creature ← (3 3 ⍴ ⍳ 9) ∈ 1 2 3 4 7 ⍝ Original creature from demo
[39] Fix | Delete
creature ← (3 3 ⍴ ⍳ 9) ∈ 1 3 6 7 8 ⍝ Glider
[40] Fix | Delete
[41] Fix | Delete
⍝ Place the creature on a larger board, near the centre
[42] Fix | Delete
board ← ¯1 ⊖ ¯2 ⌽ 5 7 ↑ creature
[43] Fix | Delete
[44] Fix | Delete
⍝ A function to move from one generation to the next
[45] Fix | Delete
life ← {∨/ 1 ⍵ ∧ 3 4 = ⊂+/ +⌿ 1 0 ¯1 ∘.⊖ 1 0 ¯1 ⌽¨ ⊂⍵}
[46] Fix | Delete
[47] Fix | Delete
⍝ Compute n-th generation and format it as a
[48] Fix | Delete
⍝ character matrix
[49] Fix | Delete
gen ← {' #'[(life ⍣ ⍵) board]}
[50] Fix | Delete
[51] Fix | Delete
⍝ Show first three generations
[52] Fix | Delete
(gen 1) (gen 2) (gen 3)
[53] Fix | Delete
</textarea></form>
[54] Fix | Delete
[55] Fix | Delete
<script>
[56] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[57] Fix | Delete
lineNumbers: true,
[58] Fix | Delete
matchBrackets: true,
[59] Fix | Delete
mode: "text/apl"
[60] Fix | Delete
});
[61] Fix | Delete
</script>
[62] Fix | Delete
[63] Fix | Delete
<p>Simple mode that tries to handle APL as well as it can.</p>
[64] Fix | Delete
<p>It attempts to label functions/operators based upon
[65] Fix | Delete
monadic/dyadic usage (but this is far from fully fleshed out).
[66] Fix | Delete
This means there are meaningful classnames so hover states can
[67] Fix | Delete
have popups etc.</p>
[68] Fix | Delete
[69] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/apl</code> (APL code)</p>
[70] Fix | Delete
</article>
[71] Fix | Delete
[72] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function