Edit File by line
/home/barbar84/www/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/julia
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: Julia 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="julia.js"></script>
[8] Fix | Delete
<style type="text/css">.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
[12] Fix | Delete
<ul>
[13] Fix | Delete
<li><a href="../../index.html">Home</a>
[14] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[15] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[16] Fix | Delete
</ul>
[17] Fix | Delete
<ul>
[18] Fix | Delete
<li><a href="../index.html">Language modes</a>
[19] Fix | Delete
<li><a class=active href="#">Julia</a>
[20] Fix | Delete
</ul>
[21] Fix | Delete
</div>
[22] Fix | Delete
[23] Fix | Delete
<article>
[24] Fix | Delete
<h2>Julia mode</h2>
[25] Fix | Delete
[26] Fix | Delete
<div><textarea id="code" name="code">
[27] Fix | Delete
#numbers
[28] Fix | Delete
1234
[29] Fix | Delete
1234im
[30] Fix | Delete
.234
[31] Fix | Delete
.234im
[32] Fix | Delete
2.23im
[33] Fix | Delete
2.3f3
[34] Fix | Delete
23e2
[35] Fix | Delete
0x234
[36] Fix | Delete
[37] Fix | Delete
#strings
[38] Fix | Delete
'a'
[39] Fix | Delete
"asdf"
[40] Fix | Delete
r"regex"
[41] Fix | Delete
b"bytestring"
[42] Fix | Delete
[43] Fix | Delete
"""
[44] Fix | Delete
multiline string
[45] Fix | Delete
"""
[46] Fix | Delete
[47] Fix | Delete
#identifiers
[48] Fix | Delete
a
[49] Fix | Delete
as123
[50] Fix | Delete
function_name!
[51] Fix | Delete
[52] Fix | Delete
#unicode identifiers
[53] Fix | Delete
# a = x\ddot
[54] Fix | Delete
a⃗ = ẍ
[55] Fix | Delete
# a = v\dot
[56] Fix | Delete
a⃗ = v̇
[57] Fix | Delete
#F\vec = m \cdotp a\vec
[58] Fix | Delete
F⃗ = m·a⃗
[59] Fix | Delete
[60] Fix | Delete
#literal identifier multiples
[61] Fix | Delete
3x
[62] Fix | Delete
4[1, 2, 3]
[63] Fix | Delete
[64] Fix | Delete
#dicts and indexing
[65] Fix | Delete
x=[1, 2, 3]
[66] Fix | Delete
x[end-1]
[67] Fix | Delete
x={"julia"=>"language of technical computing"}
[68] Fix | Delete
[69] Fix | Delete
[70] Fix | Delete
#exception handling
[71] Fix | Delete
try
[72] Fix | Delete
f()
[73] Fix | Delete
catch
[74] Fix | Delete
@printf "Error"
[75] Fix | Delete
finally
[76] Fix | Delete
g()
[77] Fix | Delete
end
[78] Fix | Delete
[79] Fix | Delete
#types
[80] Fix | Delete
immutable Color{T<:Number}
[81] Fix | Delete
r::T
[82] Fix | Delete
g::T
[83] Fix | Delete
b::T
[84] Fix | Delete
end
[85] Fix | Delete
[86] Fix | Delete
#functions
[87] Fix | Delete
function change!(x::Vector{Float64})
[88] Fix | Delete
for i = 1:length(x)
[89] Fix | Delete
x[i] *= 2
[90] Fix | Delete
end
[91] Fix | Delete
end
[92] Fix | Delete
[93] Fix | Delete
#function invocation
[94] Fix | Delete
f('b', (2, 3)...)
[95] Fix | Delete
[96] Fix | Delete
#operators
[97] Fix | Delete
|=
[98] Fix | Delete
&=
[99] Fix | Delete
^=
[100] Fix | Delete
\-
[101] Fix | Delete
%=
[102] Fix | Delete
*=
[103] Fix | Delete
+=
[104] Fix | Delete
-=
[105] Fix | Delete
<=
[106] Fix | Delete
>=
[107] Fix | Delete
!=
[108] Fix | Delete
==
[109] Fix | Delete
%
[110] Fix | Delete
*
[111] Fix | Delete
+
[112] Fix | Delete
-
[113] Fix | Delete
<
[114] Fix | Delete
>
[115] Fix | Delete
!
[116] Fix | Delete
=
[117] Fix | Delete
|
[118] Fix | Delete
&
[119] Fix | Delete
^
[120] Fix | Delete
\
[121] Fix | Delete
?
[122] Fix | Delete
~
[123] Fix | Delete
:
[124] Fix | Delete
$
[125] Fix | Delete
<:
[126] Fix | Delete
.<
[127] Fix | Delete
.>
[128] Fix | Delete
<<
[129] Fix | Delete
<<=
[130] Fix | Delete
>>
[131] Fix | Delete
>>>>
[132] Fix | Delete
>>=
[133] Fix | Delete
>>>=
[134] Fix | Delete
<<=
[135] Fix | Delete
<<<=
[136] Fix | Delete
.<=
[137] Fix | Delete
.>=
[138] Fix | Delete
.==
[139] Fix | Delete
->
[140] Fix | Delete
//
[141] Fix | Delete
in
[142] Fix | Delete
...
[143] Fix | Delete
//
[144] Fix | Delete
:=
[145] Fix | Delete
.//=
[146] Fix | Delete
.*=
[147] Fix | Delete
./=
[148] Fix | Delete
.^=
[149] Fix | Delete
.%=
[150] Fix | Delete
.+=
[151] Fix | Delete
.-=
[152] Fix | Delete
\=
[153] Fix | Delete
\\=
[154] Fix | Delete
||
[155] Fix | Delete
===
[156] Fix | Delete
&&
[157] Fix | Delete
|=
[158] Fix | Delete
.|=
[159] Fix | Delete
<:
[160] Fix | Delete
>:
[161] Fix | Delete
|>
[162] Fix | Delete
<|
[163] Fix | Delete
::
[164] Fix | Delete
x ? y : z
[165] Fix | Delete
[166] Fix | Delete
#macros
[167] Fix | Delete
@spawnat 2 1+1
[168] Fix | Delete
@eval(:x)
[169] Fix | Delete
[170] Fix | Delete
#keywords and operators
[171] Fix | Delete
if else elseif while for
[172] Fix | Delete
begin let end do
[173] Fix | Delete
try catch finally return break continue
[174] Fix | Delete
global local const
[175] Fix | Delete
export import importall using
[176] Fix | Delete
function macro module baremodule
[177] Fix | Delete
type immutable quote
[178] Fix | Delete
true false enumerate
[179] Fix | Delete
[180] Fix | Delete
[181] Fix | Delete
</textarea></div>
[182] Fix | Delete
<script>
[183] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[184] Fix | Delete
mode: {name: "julia",
[185] Fix | Delete
},
[186] Fix | Delete
lineNumbers: true,
[187] Fix | Delete
indentUnit: 4,
[188] Fix | Delete
matchBrackets: true
[189] Fix | Delete
});
[190] Fix | Delete
</script>
[191] Fix | Delete
[192] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/x-julia</code>.</p>
[193] Fix | Delete
</article>
[194] Fix | Delete
[195] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function