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/powershe...
File: powershell.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(mod) {
[3] Fix | Delete
'use strict';
[4] Fix | Delete
if (typeof exports == 'object' && typeof module == 'object') // CommonJS
[5] Fix | Delete
mod(require('codemirror'));
[6] Fix | Delete
else if (typeof define == 'function' && define.amd) // AMD
[7] Fix | Delete
define(['codemirror'], mod);
[8] Fix | Delete
else // Plain browser env
[9] Fix | Delete
mod(window.CodeMirror);
[10] Fix | Delete
})(function(CodeMirror) {
[11] Fix | Delete
'use strict';
[12] Fix | Delete
[13] Fix | Delete
CodeMirror.defineMode('powershell', function() {
[14] Fix | Delete
function buildRegexp(patterns, options) {
[15] Fix | Delete
options = options || {};
[16] Fix | Delete
var prefix = options.prefix !== undefined ? options.prefix : '^';
[17] Fix | Delete
var suffix = options.suffix !== undefined ? options.suffix : '\\b';
[18] Fix | Delete
[19] Fix | Delete
for (var i = 0; i < patterns.length; i++) {
[20] Fix | Delete
if (patterns[i] instanceof RegExp) {
[21] Fix | Delete
patterns[i] = patterns[i].source;
[22] Fix | Delete
}
[23] Fix | Delete
else {
[24] Fix | Delete
patterns[i] = patterns[i].replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
return new RegExp(prefix + '(' + patterns.join('|') + ')' + suffix, 'i');
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
var notCharacterOrDash = '(?=[^A-Za-z\\d\\-_]|$)';
[32] Fix | Delete
var varNames = /[\w\-:]/
[33] Fix | Delete
var keywords = buildRegexp([
[34] Fix | Delete
/begin|break|catch|continue|data|default|do|dynamicparam/,
[35] Fix | Delete
/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,
[36] Fix | Delete
/param|process|return|switch|throw|trap|try|until|where|while/
[37] Fix | Delete
], { suffix: notCharacterOrDash });
[38] Fix | Delete
[39] Fix | Delete
var punctuation = /[\[\]{},;`\.]|@[({]/;
[40] Fix | Delete
var wordOperators = buildRegexp([
[41] Fix | Delete
'f',
[42] Fix | Delete
/b?not/,
[43] Fix | Delete
/[ic]?split/, 'join',
[44] Fix | Delete
/is(not)?/, 'as',
[45] Fix | Delete
/[ic]?(eq|ne|[gl][te])/,
[46] Fix | Delete
/[ic]?(not)?(like|match|contains)/,
[47] Fix | Delete
/[ic]?replace/,
[48] Fix | Delete
/b?(and|or|xor)/
[49] Fix | Delete
], { prefix: '-' });
[50] Fix | Delete
var symbolOperators = /[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/;
[51] Fix | Delete
var operators = buildRegexp([wordOperators, symbolOperators], { suffix: '' });
[52] Fix | Delete
[53] Fix | Delete
var numbers = /^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i;
[54] Fix | Delete
[55] Fix | Delete
var identifiers = /^[A-Za-z\_][A-Za-z\-\_\d]*\b/;
[56] Fix | Delete
[57] Fix | Delete
var symbolBuiltins = /[A-Z]:|%|\?/i;
[58] Fix | Delete
var namedBuiltins = buildRegexp([
[59] Fix | Delete
/Add-(Computer|Content|History|Member|PSSnapin|Type)/,
[60] Fix | Delete
/Checkpoint-Computer/,
[61] Fix | Delete
/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,
[62] Fix | Delete
/Compare-Object/,
[63] Fix | Delete
/Complete-Transaction/,
[64] Fix | Delete
/Connect-PSSession/,
[65] Fix | Delete
/ConvertFrom-(Csv|Json|SecureString|StringData)/,
[66] Fix | Delete
/Convert-Path/,
[67] Fix | Delete
/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,
[68] Fix | Delete
/Copy-Item(Property)?/,
[69] Fix | Delete
/Debug-Process/,
[70] Fix | Delete
/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
[71] Fix | Delete
/Disconnect-PSSession/,
[72] Fix | Delete
/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
[73] Fix | Delete
/(Enter|Exit)-PSSession/,
[74] Fix | Delete
/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,
[75] Fix | Delete
/ForEach-Object/,
[76] Fix | Delete
/Format-(Custom|List|Table|Wide)/,
[77] Fix | Delete
new RegExp('Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential'
[78] Fix | Delete
+ '|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job'
[79] Fix | Delete
+ '|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration'
[80] Fix | Delete
+ '|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)'),
[81] Fix | Delete
/Group-Object/,
[82] Fix | Delete
/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,
[83] Fix | Delete
/ImportSystemModules/,
[84] Fix | Delete
/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,
[85] Fix | Delete
/Join-Path/,
[86] Fix | Delete
/Limit-EventLog/,
[87] Fix | Delete
/Measure-(Command|Object)/,
[88] Fix | Delete
/Move-Item(Property)?/,
[89] Fix | Delete
new RegExp('New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile'
[90] Fix | Delete
+ '|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)'),
[91] Fix | Delete
/Out-(Default|File|GridView|Host|Null|Printer|String)/,
[92] Fix | Delete
/Pause/,
[93] Fix | Delete
/(Pop|Push)-Location/,
[94] Fix | Delete
/Read-Host/,
[95] Fix | Delete
/Receive-(Job|PSSession)/,
[96] Fix | Delete
/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,
[97] Fix | Delete
/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,
[98] Fix | Delete
/Rename-(Computer|Item(Property)?)/,
[99] Fix | Delete
/Reset-ComputerMachinePassword/,
[100] Fix | Delete
/Resolve-Path/,
[101] Fix | Delete
/Restart-(Computer|Service)/,
[102] Fix | Delete
/Restore-Computer/,
[103] Fix | Delete
/Resume-(Job|Service)/,
[104] Fix | Delete
/Save-Help/,
[105] Fix | Delete
/Select-(Object|String|Xml)/,
[106] Fix | Delete
/Send-MailMessage/,
[107] Fix | Delete
new RegExp('Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug' +
[108] Fix | Delete
'|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)'),
[109] Fix | Delete
/Show-(Command|ControlPanelItem|EventLog)/,
[110] Fix | Delete
/Sort-Object/,
[111] Fix | Delete
/Split-Path/,
[112] Fix | Delete
/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,
[113] Fix | Delete
/Stop-(Computer|Job|Process|Service|Transcript)/,
[114] Fix | Delete
/Suspend-(Job|Service)/,
[115] Fix | Delete
/TabExpansion2/,
[116] Fix | Delete
/Tee-Object/,
[117] Fix | Delete
/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,
[118] Fix | Delete
/Trace-Command/,
[119] Fix | Delete
/Unblock-File/,
[120] Fix | Delete
/Undo-Transaction/,
[121] Fix | Delete
/Unregister-(Event|PSSessionConfiguration)/,
[122] Fix | Delete
/Update-(FormatData|Help|List|TypeData)/,
[123] Fix | Delete
/Use-Transaction/,
[124] Fix | Delete
/Wait-(Event|Job|Process)/,
[125] Fix | Delete
/Where-Object/,
[126] Fix | Delete
/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,
[127] Fix | Delete
/cd|help|mkdir|more|oss|prompt/,
[128] Fix | Delete
/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,
[129] Fix | Delete
/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,
[130] Fix | Delete
/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,
[131] Fix | Delete
/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,
[132] Fix | Delete
/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,
[133] Fix | Delete
/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/
[134] Fix | Delete
], { prefix: '', suffix: '' });
[135] Fix | Delete
var variableBuiltins = buildRegexp([
[136] Fix | Delete
/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,
[137] Fix | Delete
/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,
[138] Fix | Delete
/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,
[139] Fix | Delete
/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,
[140] Fix | Delete
/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,
[141] Fix | Delete
/WarningPreference|WhatIfPreference/,
[142] Fix | Delete
[143] Fix | Delete
/Event|EventArgs|EventSubscriber|Sender/,
[144] Fix | Delete
/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,
[145] Fix | Delete
/true|false|null/
[146] Fix | Delete
], { prefix: '\\$', suffix: '' });
[147] Fix | Delete
[148] Fix | Delete
var builtins = buildRegexp([symbolBuiltins, namedBuiltins, variableBuiltins], { suffix: notCharacterOrDash });
[149] Fix | Delete
[150] Fix | Delete
var grammar = {
[151] Fix | Delete
keyword: keywords,
[152] Fix | Delete
number: numbers,
[153] Fix | Delete
operator: operators,
[154] Fix | Delete
builtin: builtins,
[155] Fix | Delete
punctuation: punctuation,
[156] Fix | Delete
identifier: identifiers
[157] Fix | Delete
};
[158] Fix | Delete
[159] Fix | Delete
// tokenizers
[160] Fix | Delete
function tokenBase(stream, state) {
[161] Fix | Delete
// Handle Comments
[162] Fix | Delete
//var ch = stream.peek();
[163] Fix | Delete
[164] Fix | Delete
var parent = state.returnStack[state.returnStack.length - 1];
[165] Fix | Delete
if (parent && parent.shouldReturnFrom(state)) {
[166] Fix | Delete
state.tokenize = parent.tokenize;
[167] Fix | Delete
state.returnStack.pop();
[168] Fix | Delete
return state.tokenize(stream, state);
[169] Fix | Delete
}
[170] Fix | Delete
[171] Fix | Delete
if (stream.eatSpace()) {
[172] Fix | Delete
return null;
[173] Fix | Delete
}
[174] Fix | Delete
[175] Fix | Delete
if (stream.eat('(')) {
[176] Fix | Delete
state.bracketNesting += 1;
[177] Fix | Delete
return 'punctuation';
[178] Fix | Delete
}
[179] Fix | Delete
[180] Fix | Delete
if (stream.eat(')')) {
[181] Fix | Delete
state.bracketNesting -= 1;
[182] Fix | Delete
return 'punctuation';
[183] Fix | Delete
}
[184] Fix | Delete
[185] Fix | Delete
for (var key in grammar) {
[186] Fix | Delete
if (stream.match(grammar[key])) {
[187] Fix | Delete
return key;
[188] Fix | Delete
}
[189] Fix | Delete
}
[190] Fix | Delete
[191] Fix | Delete
var ch = stream.next();
[192] Fix | Delete
[193] Fix | Delete
// single-quote string
[194] Fix | Delete
if (ch === "'") {
[195] Fix | Delete
return tokenSingleQuoteString(stream, state);
[196] Fix | Delete
}
[197] Fix | Delete
[198] Fix | Delete
if (ch === '$') {
[199] Fix | Delete
return tokenVariable(stream, state);
[200] Fix | Delete
}
[201] Fix | Delete
[202] Fix | Delete
// double-quote string
[203] Fix | Delete
if (ch === '"') {
[204] Fix | Delete
return tokenDoubleQuoteString(stream, state);
[205] Fix | Delete
}
[206] Fix | Delete
[207] Fix | Delete
if (ch === '<' && stream.eat('#')) {
[208] Fix | Delete
state.tokenize = tokenComment;
[209] Fix | Delete
return tokenComment(stream, state);
[210] Fix | Delete
}
[211] Fix | Delete
[212] Fix | Delete
if (ch === '#') {
[213] Fix | Delete
stream.skipToEnd();
[214] Fix | Delete
return 'comment';
[215] Fix | Delete
}
[216] Fix | Delete
[217] Fix | Delete
if (ch === '@') {
[218] Fix | Delete
var quoteMatch = stream.eat(/["']/);
[219] Fix | Delete
if (quoteMatch && stream.eol()) {
[220] Fix | Delete
state.tokenize = tokenMultiString;
[221] Fix | Delete
state.startQuote = quoteMatch[0];
[222] Fix | Delete
return tokenMultiString(stream, state);
[223] Fix | Delete
} else if (stream.peek().match(/[({]/)) {
[224] Fix | Delete
return 'punctuation';
[225] Fix | Delete
} else if (stream.peek().match(varNames)) {
[226] Fix | Delete
// splatted variable
[227] Fix | Delete
return tokenVariable(stream, state);
[228] Fix | Delete
}
[229] Fix | Delete
}
[230] Fix | Delete
return 'error';
[231] Fix | Delete
}
[232] Fix | Delete
[233] Fix | Delete
function tokenSingleQuoteString(stream, state) {
[234] Fix | Delete
var ch;
[235] Fix | Delete
while ((ch = stream.peek()) != null) {
[236] Fix | Delete
stream.next();
[237] Fix | Delete
[238] Fix | Delete
if (ch === "'" && !stream.eat("'")) {
[239] Fix | Delete
state.tokenize = tokenBase;
[240] Fix | Delete
return 'string';
[241] Fix | Delete
}
[242] Fix | Delete
}
[243] Fix | Delete
[244] Fix | Delete
return 'error';
[245] Fix | Delete
}
[246] Fix | Delete
[247] Fix | Delete
function tokenDoubleQuoteString(stream, state) {
[248] Fix | Delete
var ch;
[249] Fix | Delete
while ((ch = stream.peek()) != null) {
[250] Fix | Delete
if (ch === '$') {
[251] Fix | Delete
state.tokenize = tokenStringInterpolation;
[252] Fix | Delete
return 'string';
[253] Fix | Delete
}
[254] Fix | Delete
[255] Fix | Delete
stream.next();
[256] Fix | Delete
if (ch === '`') {
[257] Fix | Delete
stream.next();
[258] Fix | Delete
continue;
[259] Fix | Delete
}
[260] Fix | Delete
[261] Fix | Delete
if (ch === '"' && !stream.eat('"')) {
[262] Fix | Delete
state.tokenize = tokenBase;
[263] Fix | Delete
return 'string';
[264] Fix | Delete
}
[265] Fix | Delete
}
[266] Fix | Delete
[267] Fix | Delete
return 'error';
[268] Fix | Delete
}
[269] Fix | Delete
[270] Fix | Delete
function tokenStringInterpolation(stream, state) {
[271] Fix | Delete
return tokenInterpolation(stream, state, tokenDoubleQuoteString);
[272] Fix | Delete
}
[273] Fix | Delete
[274] Fix | Delete
function tokenMultiStringReturn(stream, state) {
[275] Fix | Delete
state.tokenize = tokenMultiString;
[276] Fix | Delete
state.startQuote = '"'
[277] Fix | Delete
return tokenMultiString(stream, state);
[278] Fix | Delete
}
[279] Fix | Delete
[280] Fix | Delete
function tokenHereStringInterpolation(stream, state) {
[281] Fix | Delete
return tokenInterpolation(stream, state, tokenMultiStringReturn);
[282] Fix | Delete
}
[283] Fix | Delete
[284] Fix | Delete
function tokenInterpolation(stream, state, parentTokenize) {
[285] Fix | Delete
if (stream.match('jQuery(')) {
[286] Fix | Delete
var savedBracketNesting = state.bracketNesting;
[287] Fix | Delete
state.returnStack.push({
[288] Fix | Delete
/*jshint loopfunc:true */
[289] Fix | Delete
shouldReturnFrom: function(state) {
[290] Fix | Delete
return state.bracketNesting === savedBracketNesting;
[291] Fix | Delete
},
[292] Fix | Delete
tokenize: parentTokenize
[293] Fix | Delete
});
[294] Fix | Delete
state.tokenize = tokenBase;
[295] Fix | Delete
state.bracketNesting += 1;
[296] Fix | Delete
return 'punctuation';
[297] Fix | Delete
} else {
[298] Fix | Delete
stream.next();
[299] Fix | Delete
state.returnStack.push({
[300] Fix | Delete
shouldReturnFrom: function() { return true; },
[301] Fix | Delete
tokenize: parentTokenize
[302] Fix | Delete
});
[303] Fix | Delete
state.tokenize = tokenVariable;
[304] Fix | Delete
return state.tokenize(stream, state);
[305] Fix | Delete
}
[306] Fix | Delete
}
[307] Fix | Delete
[308] Fix | Delete
function tokenComment(stream, state) {
[309] Fix | Delete
var maybeEnd = false, ch;
[310] Fix | Delete
while ((ch = stream.next()) != null) {
[311] Fix | Delete
if (maybeEnd && ch == '>') {
[312] Fix | Delete
state.tokenize = tokenBase;
[313] Fix | Delete
break;
[314] Fix | Delete
}
[315] Fix | Delete
maybeEnd = (ch === '#');
[316] Fix | Delete
}
[317] Fix | Delete
return 'comment';
[318] Fix | Delete
}
[319] Fix | Delete
[320] Fix | Delete
function tokenVariable(stream, state) {
[321] Fix | Delete
var ch = stream.peek();
[322] Fix | Delete
if (stream.eat('{')) {
[323] Fix | Delete
state.tokenize = tokenVariableWithBraces;
[324] Fix | Delete
return tokenVariableWithBraces(stream, state);
[325] Fix | Delete
} else if (ch != undefined && ch.match(varNames)) {
[326] Fix | Delete
stream.eatWhile(varNames);
[327] Fix | Delete
state.tokenize = tokenBase;
[328] Fix | Delete
return 'variable-2';
[329] Fix | Delete
} else {
[330] Fix | Delete
state.tokenize = tokenBase;
[331] Fix | Delete
return 'error';
[332] Fix | Delete
}
[333] Fix | Delete
}
[334] Fix | Delete
[335] Fix | Delete
function tokenVariableWithBraces(stream, state) {
[336] Fix | Delete
var ch;
[337] Fix | Delete
while ((ch = stream.next()) != null) {
[338] Fix | Delete
if (ch === '}') {
[339] Fix | Delete
state.tokenize = tokenBase;
[340] Fix | Delete
break;
[341] Fix | Delete
}
[342] Fix | Delete
}
[343] Fix | Delete
return 'variable-2';
[344] Fix | Delete
}
[345] Fix | Delete
[346] Fix | Delete
function tokenMultiString(stream, state) {
[347] Fix | Delete
var quote = state.startQuote;
[348] Fix | Delete
if (stream.sol() && stream.match(new RegExp(quote + '@'))) {
[349] Fix | Delete
state.tokenize = tokenBase;
[350] Fix | Delete
}
[351] Fix | Delete
else if (quote === '"') {
[352] Fix | Delete
while (!stream.eol()) {
[353] Fix | Delete
var ch = stream.peek();
[354] Fix | Delete
if (ch === '$') {
[355] Fix | Delete
state.tokenize = tokenHereStringInterpolation;
[356] Fix | Delete
return 'string';
[357] Fix | Delete
}
[358] Fix | Delete
[359] Fix | Delete
stream.next();
[360] Fix | Delete
if (ch === '`') {
[361] Fix | Delete
stream.next();
[362] Fix | Delete
}
[363] Fix | Delete
}
[364] Fix | Delete
}
[365] Fix | Delete
else {
[366] Fix | Delete
stream.skipToEnd();
[367] Fix | Delete
}
[368] Fix | Delete
[369] Fix | Delete
return 'string';
[370] Fix | Delete
}
[371] Fix | Delete
[372] Fix | Delete
var external = {
[373] Fix | Delete
startState: function() {
[374] Fix | Delete
return {
[375] Fix | Delete
returnStack: [],
[376] Fix | Delete
bracketNesting: 0,
[377] Fix | Delete
tokenize: tokenBase
[378] Fix | Delete
};
[379] Fix | Delete
},
[380] Fix | Delete
[381] Fix | Delete
token: function(stream, state) {
[382] Fix | Delete
return state.tokenize(stream, state);
[383] Fix | Delete
},
[384] Fix | Delete
[385] Fix | Delete
blockCommentStart: '<#',
[386] Fix | Delete
blockCommentEnd: '#>',
[387] Fix | Delete
lineComment: '#',
[388] Fix | Delete
fold: 'brace'
[389] Fix | Delete
};
[390] Fix | Delete
return external;
[391] Fix | Delete
});
[392] Fix | Delete
[393] Fix | Delete
CodeMirror.defineMIME('application/x-powershell', 'powershell');
[394] Fix | Delete
});
[395] Fix | Delete
[396] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function