Edit File by line
/home/barbar84/www/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/dylan
File: test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others
[0] Fix | Delete
// Distributed under an MIT license: http://codemirror.net/LICENSE
[1] Fix | Delete
[2] Fix | Delete
(function() {
[3] Fix | Delete
var mode = CodeMirror.getMode({indentUnit: 2}, "dylan");
[4] Fix | Delete
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
[5] Fix | Delete
[6] Fix | Delete
MT('comments',
[7] Fix | Delete
'[comment // This is a line comment]',
[8] Fix | Delete
'[comment /* This is a block comment */]',
[9] Fix | Delete
'[comment /* This is a multi]',
[10] Fix | Delete
'[comment line comment]',
[11] Fix | Delete
'[comment */]',
[12] Fix | Delete
'[comment /* And this is a /*]',
[13] Fix | Delete
'[comment /* nested */ comment */]');
[14] Fix | Delete
[15] Fix | Delete
MT('unary_operators',
[16] Fix | Delete
'[operator -][variable a]',
[17] Fix | Delete
'[operator -] [variable a]',
[18] Fix | Delete
'[operator ~][variable a]',
[19] Fix | Delete
'[operator ~] [variable a]');
[20] Fix | Delete
[21] Fix | Delete
MT('binary_operators',
[22] Fix | Delete
'[variable a] [operator +] [variable b]',
[23] Fix | Delete
'[variable a] [operator -] [variable b]',
[24] Fix | Delete
'[variable a] [operator *] [variable b]',
[25] Fix | Delete
'[variable a] [operator /] [variable b]',
[26] Fix | Delete
'[variable a] [operator ^] [variable b]',
[27] Fix | Delete
'[variable a] [operator =] [variable b]',
[28] Fix | Delete
'[variable a] [operator ==] [variable b]',
[29] Fix | Delete
'[variable a] [operator ~=] [variable b]',
[30] Fix | Delete
'[variable a] [operator ~==] [variable b]',
[31] Fix | Delete
'[variable a] [operator <] [variable b]',
[32] Fix | Delete
'[variable a] [operator <=] [variable b]',
[33] Fix | Delete
'[variable a] [operator >] [variable b]',
[34] Fix | Delete
'[variable a] [operator >=] [variable b]',
[35] Fix | Delete
'[variable a] [operator &] [variable b]',
[36] Fix | Delete
'[variable a] [operator |] [variable b]',
[37] Fix | Delete
'[variable a] [operator :=] [variable b]');
[38] Fix | Delete
[39] Fix | Delete
MT('integers',
[40] Fix | Delete
'[number 1]',
[41] Fix | Delete
'[number 123]',
[42] Fix | Delete
'[number -123]',
[43] Fix | Delete
'[number +456]',
[44] Fix | Delete
'[number #b010]',
[45] Fix | Delete
'[number #o073]',
[46] Fix | Delete
'[number #xabcDEF123]');
[47] Fix | Delete
[48] Fix | Delete
MT('floats',
[49] Fix | Delete
'[number .3]',
[50] Fix | Delete
'[number -1.]',
[51] Fix | Delete
'[number -2.335]',
[52] Fix | Delete
'[number +3.78d1]',
[53] Fix | Delete
'[number 3.78s-1]',
[54] Fix | Delete
'[number -3.32e+5]');
[55] Fix | Delete
[56] Fix | Delete
MT('characters_and_strings',
[57] Fix | Delete
"[string 'a']",
[58] Fix | Delete
"[string '\\\\'']",
[59] Fix | Delete
'[string ""]',
[60] Fix | Delete
'[string "a"]',
[61] Fix | Delete
'[string "abc def"]',
[62] Fix | Delete
'[string "More escaped characters: \\\\\\\\ \\\\a \\\\b \\\\e \\\\f \\\\n \\\\r \\\\t \\\\0 ..."]');
[63] Fix | Delete
[64] Fix | Delete
MT('brackets',
[65] Fix | Delete
'[bracket #[[]]]',
[66] Fix | Delete
'[bracket #()]',
[67] Fix | Delete
'[bracket #(][number 1][bracket )]',
[68] Fix | Delete
'[bracket [[][number 1][punctuation ,] [number 3][bracket ]]]',
[69] Fix | Delete
'[bracket ()]',
[70] Fix | Delete
'[bracket {}]',
[71] Fix | Delete
'[keyword if] [bracket (][variable foo][bracket )]',
[72] Fix | Delete
'[bracket (][number 1][bracket )]',
[73] Fix | Delete
'[bracket [[][number 1][bracket ]]]');
[74] Fix | Delete
[75] Fix | Delete
MT('hash_words',
[76] Fix | Delete
'[punctuation ##]',
[77] Fix | Delete
'[atom #f]', '[atom #F]',
[78] Fix | Delete
'[atom #t]', '[atom #T]',
[79] Fix | Delete
'[atom #all-keys]',
[80] Fix | Delete
'[atom #include]',
[81] Fix | Delete
'[atom #key]',
[82] Fix | Delete
'[atom #next]',
[83] Fix | Delete
'[atom #rest]',
[84] Fix | Delete
'[string #"foo"]',
[85] Fix | Delete
'[error #invalid]');
[86] Fix | Delete
})();
[87] Fix | Delete
[88] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function