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/mscgen
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: MscGen 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="mscgen.js"></script>
[8] Fix | Delete
<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
[9] Fix | Delete
<div id=nav>
[10] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[11] Fix | Delete
<ul>
[12] Fix | Delete
<li><a href="../../index.html">Home</a>
[13] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[14] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[15] Fix | Delete
</ul>
[16] Fix | Delete
<ul>
[17] Fix | Delete
<li><a href="../index.html">Language modes</a>
[18] Fix | Delete
<li><a class=active href="#">MscGen</a>
[19] Fix | Delete
</ul>
[20] Fix | Delete
</div>
[21] Fix | Delete
[22] Fix | Delete
<article>
[23] Fix | Delete
<h2>MscGen mode</h2>
[24] Fix | Delete
[25] Fix | Delete
<div><textarea id="mscgen-code">
[26] Fix | Delete
# Sample mscgen program
[27] Fix | Delete
# See http://www.mcternan.me.uk/mscgen or
[28] Fix | Delete
# https://sverweij.github.io/mscgen_js for more samples
[29] Fix | Delete
msc {
[30] Fix | Delete
# options
[31] Fix | Delete
hscale="1.2";
[32] Fix | Delete
[33] Fix | Delete
# entities/ lifelines
[34] Fix | Delete
a [label="Entity A"],
[35] Fix | Delete
b [label="Entity B", linecolor="red", arclinecolor="red", textbgcolor="pink"],
[36] Fix | Delete
c [label="Entity C"];
[37] Fix | Delete
[38] Fix | Delete
# arcs/ messages
[39] Fix | Delete
a => c [label="doSomething(args)"];
[40] Fix | Delete
b => c [label="doSomething(args)"];
[41] Fix | Delete
c >> * [label="everyone asked me", arcskip="1"];
[42] Fix | Delete
c =>> c [label="doing something"];
[43] Fix | Delete
c -x * [label="report back", arcskip="1"];
[44] Fix | Delete
|||;
[45] Fix | Delete
--- [label="shows's over, however ..."];
[46] Fix | Delete
b => a [label="did you see c doing something?"];
[47] Fix | Delete
a -> b [label="nope"];
[48] Fix | Delete
b :> a [label="shall we ask again?"];
[49] Fix | Delete
a => b [label="naah"];
[50] Fix | Delete
...;
[51] Fix | Delete
}
[52] Fix | Delete
</textarea></div>
[53] Fix | Delete
[54] Fix | Delete
<h2>Xù mode</h2>
[55] Fix | Delete
[56] Fix | Delete
<div><textarea id="xu-code">
[57] Fix | Delete
# Xù - expansions to MscGen to support inline expressions
[58] Fix | Delete
# https://github.com/sverweij/mscgen_js/blob/master/wikum/xu.md
[59] Fix | Delete
# More samples: https://sverweij.github.io/mscgen_js
[60] Fix | Delete
msc {
[61] Fix | Delete
hscale="0.8",
[62] Fix | Delete
width="700";
[63] Fix | Delete
[64] Fix | Delete
a,
[65] Fix | Delete
b [label="change store"],
[66] Fix | Delete
c,
[67] Fix | Delete
d [label="necro queue"],
[68] Fix | Delete
e [label="natalis queue"],
[69] Fix | Delete
f;
[70] Fix | Delete
[71] Fix | Delete
a =>> b [label="get change list()"];
[72] Fix | Delete
a alt f [label="changes found"] { /* alt is a xu specific keyword*/
[73] Fix | Delete
b >> a [label="list of changes"];
[74] Fix | Delete
a =>> c [label="cull old stuff (list of changes)"];
[75] Fix | Delete
b loop e [label="for each change"] { // loop is xu specific as well...
[76] Fix | Delete
/*
[77] Fix | Delete
* Interesting stuff happens.
[78] Fix | Delete
*/
[79] Fix | Delete
c =>> b [label="get change()"];
[80] Fix | Delete
b >> c [label="change"];
[81] Fix | Delete
c alt e [label="change too old"] {
[82] Fix | Delete
c =>> d [label="queue(change)"];
[83] Fix | Delete
--- [label="change newer than latest run"];
[84] Fix | Delete
c =>> e [label="queue(change)"];
[85] Fix | Delete
--- [label="all other cases"];
[86] Fix | Delete
||| [label="leave well alone"];
[87] Fix | Delete
};
[88] Fix | Delete
};
[89] Fix | Delete
[90] Fix | Delete
c >> a [label="done
[91] Fix | Delete
processing"];
[92] Fix | Delete
[93] Fix | Delete
/* shucks! nothing found ...*/
[94] Fix | Delete
--- [label="nothing found"];
[95] Fix | Delete
b >> a [label="nothing"];
[96] Fix | Delete
a note a [label="silent exit"];
[97] Fix | Delete
};
[98] Fix | Delete
}
[99] Fix | Delete
</textarea></div>
[100] Fix | Delete
[101] Fix | Delete
<h2>MsGenny mode</h2>
[102] Fix | Delete
<div><textarea id="msgenny-code">
[103] Fix | Delete
# MsGenny - simplified version of MscGen / Xù
[104] Fix | Delete
# https://github.com/sverweij/mscgen_js/blob/master/wikum/msgenny.md
[105] Fix | Delete
# More samples: https://sverweij.github.io/mscgen_js
[106] Fix | Delete
a -> b : a -> b (signal);
[107] Fix | Delete
a => b : a => b (method);
[108] Fix | Delete
b >> a : b >> a (return value);
[109] Fix | Delete
a =>> b : a =>> b (callback);
[110] Fix | Delete
a -x b : a -x b (lost);
[111] Fix | Delete
a :> b : a :> b (emphasis);
[112] Fix | Delete
a .. b : a .. b (dotted);
[113] Fix | Delete
a -- b : "a -- b straight line";
[114] Fix | Delete
a note a : a note a\n(note),
[115] Fix | Delete
b box b : b box b\n(action);
[116] Fix | Delete
a rbox a : a rbox a\n(reference),
[117] Fix | Delete
b abox b : b abox b\n(state/ condition);
[118] Fix | Delete
||| : ||| (empty row);
[119] Fix | Delete
... : ... (omitted row);
[120] Fix | Delete
--- : --- (comment);
[121] Fix | Delete
</textarea></div>
[122] Fix | Delete
[123] Fix | Delete
<p>
[124] Fix | Delete
Simple mode for highlighting MscGen and two derived sequence
[125] Fix | Delete
chart languages.
[126] Fix | Delete
</p>
[127] Fix | Delete
[128] Fix | Delete
<script>
[129] Fix | Delete
var mscgenEditor = CodeMirror.fromTextArea(document.getElementById("mscgen-code"), {
[130] Fix | Delete
lineNumbers: true,
[131] Fix | Delete
mode: "text/x-mscgen",
[132] Fix | Delete
});
[133] Fix | Delete
var xuEditor = CodeMirror.fromTextArea(document.getElementById("xu-code"), {
[134] Fix | Delete
lineNumbers: true,
[135] Fix | Delete
mode: "text/x-xu",
[136] Fix | Delete
});
[137] Fix | Delete
var msgennyEditor = CodeMirror.fromTextArea(document.getElementById("msgenny-code"), {
[138] Fix | Delete
lineNumbers: true,
[139] Fix | Delete
mode: "text/x-msgenny",
[140] Fix | Delete
});
[141] Fix | Delete
</script>
[142] Fix | Delete
[143] Fix | Delete
<p><strong>MIME types defined:</strong>
[144] Fix | Delete
<code>text/x-mscgen</code>
[145] Fix | Delete
<code>text/x-xu</code>
[146] Fix | Delete
<code>text/x-msgenny</code>
[147] Fix | Delete
</p>
[148] Fix | Delete
[149] Fix | Delete
</article>
[150] Fix | Delete
[151] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function