From 5bf79f8146f84fcb106e084ecb062291ebab6ec3 Mon Sep 17 00:00:00 2001
From: Ingo Schommer
');
- var pattern = new RegExp(trigger+cc,"gi");
- this.syntaxHighlight('snippets',pattern,content);
- }
- }
- },
-
- readOnly : function() {
- editor.contentEditable = (arguments[0]) ? 'false' : 'true';
- },
-
- complete : function(trigger) {
- var complete = Language.complete;
- for (var i=0; i /i,''); // IE first line fix
- code = code.replace(/ /gi,'\n');
- code = code.replace(/ /gi,'');
- code = code.replace(/\u2009/g,'');
- code = code.replace(/<.*?>/g,'');
- code = code.replace(/</g,'<');
- code = code.replace(/>/g,'>');
- code = code.replace(/&/gi,'&');
- return code;
- },
-
- // put code inside editor
- setCode : function() {
- var code = arguments[0];
- code = code.replace(/\u2009/gi,'');
- code = code.replace(/&/gi,'&');
- code = code.replace(//g,'>');
- editor.innerHTML = '
- Go to http://codepress.org/ for updates.
-
-
-
-
-
-
-
- Download and uncompress CodePress under a directory inside your webserver.
- Insert CodePress script somewhere in your page inside the
- <script src="/codepress/codepress.js" type="text/javascript"></script>
-
- Add the
- <textarea id="myCpWindow" class="codepress javascript linenumbers-off">
- CodePress is distributed under the LGPL. If your software is compatible with this licence or it is under Creative Commons, you can use it as you want. Just keep the credits somewhere around.
- $0 $0'+code+'
';
- },
-
-
- // undo and redo methods
- actions : {
- pos : -1, // actual history position
- history : [], // history vector
-
- undo : function() {
- if(editor.innerHTML.indexOf(cc)==-1){
- document.selection.createRange().text = cc;
- this.history[this.pos] = editor.innerHTML;
- }
- this.pos--;
- if(typeof(this.history[this.pos])=='undefined') this.pos++;
- editor.innerHTML = this.history[this.pos];
- CodePress.findString();
- },
-
- redo : function() {
- this.pos++;
- if(typeof(this.history[this.pos])=='undefined') this.pos--;
- editor.innerHTML = this.history[this.pos];
- CodePress.findString();
- },
-
- next : function() { // get next vector position and clean old ones
- if(this.pos>20) this.history[this.pos-21] = undefined;
- return ++this.pos;
- }
- }
-}
-
-Language={};
-window.attachEvent('onload', function() { CodePress.initialize('new');});
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/engines/older.js b/thirdparty/tinymce-advcode/js/codepress/engines/older.js
deleted file mode 100644
index af9a9f5ca..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/engines/older.js
+++ /dev/null
@@ -1,21 +0,0 @@
-(function($) {
- $.entwine('ss', function($){
- /**
- * Formats a field with a jQuery UI datepicker.
- *
- * Requires: concrete, ui.datepicker, jquery.metadata
- *
- * @author Ingo Schommer, SilverStripe Ltd.
- */
- $('.calendardate').entwine({
- onmatch: function() {
- this.find('input').each(function() {
- var conf = $(this).metadata();
- if(conf.minDate) conf.minDate = new Date(Date.parse(conf.minDate));
-
- $(this).datepicker(conf);
- });
- }
- });
- });
-}(jQuery));
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/engines/opera.js b/thirdparty/tinymce-advcode/js/codepress/engines/opera.js
deleted file mode 100644
index 152c76335..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/engines/opera.js
+++ /dev/null
@@ -1,260 +0,0 @@
-/*
- * CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
- *
- * Copyright (C) 2007 Fernando M.A.d.S.
/g,'\r\n');
-// o = o.replace(/<(b|i|s|u|a|em|tt|ins|big|cite|strong)?>/g,'');
- //alert(o)
- o = o.replace(/<(?!span|\/span|br).*?>/gi,'');
-// alert(o)
-// x = o;
- x = z = this.split(o,flag);
- //alert(z)
-// x = x.replace(/\r\n/g,'
');
- x = x.replace(/\t/g, ' ');
-
-
- if(arguments[1]&&arguments[2]) x = x.replace(arguments[1],arguments[2]);
-
- for(i=0;i
');
- var pattern = new RegExp(trigger+cc,'gi');
- evt.preventDefault(); // prevent the tab key from being added
- this.syntaxHighlight('snippets',pattern,content);
- }
- }
- },
-
- readOnly : function() {
- document.designMode = (arguments[0]) ? 'off' : 'on';
- },
-
- complete : function(trigger) {
- window.getSelection().getRangeAt(0).deleteContents();
- var complete = Language.complete;
- for (var i=0; iq
zru<~E&GP5nn8ty)rn3VZGAs?p#>3--at}WHeyN%|!r($&aMWwHMFlIL#QyN>G`-6D
zaY;31
-
-
-
-
-
-
-
- Home/Download
-
-
- Install
-
-
- To-do
-
-
- About
-
-
- CodePress is web-based source code editor with syntax highlighting written in JavaScript that colors text in real time while it's being typed in the browser.
-
-
-Demo
-
-
-
-
-Installation
-
-
-
-
- Example: http://yourserver/codepress/
- Since CodePress is pure JavaScript and HTML, you can also test it without a webserver.
- <head>
or above the </body>
tag.
- <textarea>
tag to the place on your page you want CodePress to appear. CodePress will inherit the width and height of your textarea.
- When the page loads, it will automatically replace your textarea with a CodePress window.
-
- // your code here
- </textarea>
-
-
-
- javascript
portion of the class="" means that the language being edited is JavaScript.
- codepress
portion of the class="" is mandatory and indicates a textarea to be replaced for a CodePress window.
- linenumbers-off
, autocomplete-off
and readonly-on
.
- <textarea id="xx"...>
)
- You also can...
-
-
-
-
-
-
- Example: textarea_id.edit('other_textarea_id','language')
-
- Example: textarea_id.getCode()
-
- Example: textarea_id.toggleEditor()
-
- Example: textarea_id.toggleLineNumbers()
-
- Example: textarea_id.toggleReadOnly()
-
- Example: textarea_id.toggleAutoComplete()
- License
-
|<\/P>)/g, output : '"$1$2' },
-// ASP Comment
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2'},
-// <%.*
- { input : /(<%)/g, output : '$1' },
-// .*%>
- { input : /(%>)/g, output : '$1' },
-// <%@...%>
- { input : /(<%@)(.+?)(%>)/gi, output : '$1$2$3' },
-//Numbers
- { input : /\b([\d]+)\b/g, output : '$1' },
-// Reserved Words 1 (Blue)
- { input : /\b(And|As|ByRef|ByVal|Call|Case|Class|Const|Dim|Do|Each|Else|ElseIf|Empty|End|Eqv|Exit|False|For|Function)\b/gi, output : '$1' },
- { input : /\b(Get|GoTo|If|Imp|In|Is|Let|Loop|Me|Mod|Enum|New|Next|Not|Nothing|Null|On|Option|Or|Private|Public|ReDim|Rem)\b/gi, output : '$1' },
- { input : /\b(Resume|Select|Set|Stop|Sub|Then|To|True|Until|Wend|While|With|Xor|Execute|Randomize|Erase|ExecuteGlobal|Explicit|step)\b/gi, output : '$1' },
-// Reserved Words 2 (Purple)
- { input : /\b(Abandon|Abs|AbsolutePage|AbsolutePosition|ActiveCommand|ActiveConnection|ActualSize|AddHeader|AddNew|AppendChunk)\b/gi, output : '$1' },
- { input : /\b(AppendToLog|Application|Array|Asc|Atn|Attributes|BeginTrans|BinaryRead|BinaryWrite|BOF|Bookmark|Boolean|Buffer|Byte)\b/gi, output : '$1' },
- { input : /\b(CacheControl|CacheSize|Cancel|CancelBatch|CancelUpdate|CBool|CByte|CCur|CDate|CDbl|Charset|Chr|CInt|Clear)\b/gi, output : '$1' },
- { input : /\b(ClientCertificate|CLng|Clone|Close|CodePage|CommandText|CommandType|CommandTimeout|CommitTrans|CompareBookmarks|ConnectionString|ConnectionTimeout)\b/gi, output : '$1' },
- { input : /\b(Contents|ContentType|Cookies|Cos|CreateObject|CreateParameter|CSng|CStr|CursorLocation|CursorType|DataMember|DataSource|Date|DateAdd|DateDiff)\b/gi, output : '$1' },
- { input : /\b(DatePart|DateSerial|DateValue|Day|DefaultDatabase|DefinedSize|Delete|Description|Double|EditMode|Eof|EOF|err|Error)\b/gi, output : '$1' },
- { input : /\b(Exp|Expires|ExpiresAbsolute|Filter|Find|Fix|Flush|Form|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent)\b/gi, output : '$1' },
- { input : /\b(GetChunk|GetLastError|GetRows|GetString|Global|HelpContext|HelpFile|Hex|Hour|HTMLEncode|IgnoreCase|Index|InStr|InStrRev)\b/gi, output : '$1' },
- { input : /\b(Int|Integer|IsArray|IsClientConnected|IsDate|IsolationLevel|Join|LBound|LCase|LCID|Left|Len|Lock|LockType|Log|Long|LTrim)\b/gi, output : '$1' },
- { input : /\b(MapPath|MarshalOptions|MaxRecords|Mid|Minute|Mode|Month|MonthName|Move|MoveFirst|MoveLast|MoveNext|MovePrevious|Name|NextRecordset)\b/gi, output : '$1' },
- { input : /\b(Now|Number|NumericScale|ObjectContext|Oct|Open|OpenSchema|OriginalValue|PageCount|PageSize|Pattern|PICS|Precision|Prepared|Property)\b/gi, output : '$1' },
- { input : /\b(Provider|QueryString|RecordCount|Redirect|RegExp|Remove|RemoveAll|Replace|Requery|Request|Response|Resync|Right|Rnd)\b/gi, output : '$1' },
- { input : /\b(RollbackTrans|RTrim|Save|ScriptTimeout|Second|Seek|Server|ServerVariables|Session|SessionID|SetAbort|SetComplete|Sgn)\b/gi, output : '$1' },
- { input : /\b(Sin|Size|Sort|Source|Space|Split|Sqr|State|StaticObjects|Status|StayInSync|StrComp|String|StrReverse|Supports|Tan|Time)\b/gi, output : '$1' },
- { input : /\b(Timeout|Timer|TimeSerial|TimeValue|TotalBytes|Transfer|Trim|Type|Type|UBound|UCase|UnderlyingValue|UnLock|Update|UpdateBatch)\b/gi, output : '$1' },
- { input : /\b(URLEncode|Value|Value|Version|Weekday|WeekdayName|Write|Year)\b/gi, output : '$1' },
-// Reserved Words 3 (Turquis)
- { input : /\b(vbBlack|vbRed|vbGreen|vbYellow|vbBlue|vbMagenta|vbCyan|vbWhite|vbBinaryCompare|vbTextCompare)\b/gi, output : '$1' },
- { input : /\b(vbSunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday|vbUseSystemDayOfWeek)\b/gi, output : '$1' },
- { input : /\b(vbFirstJan1|vbFirstFourDays|vbFirstFullWeek|vbGeneralDate|vbLongDate|vbShortDate|vbLongTime|vbShortTime)\b/gi, output : '$1' },
- { input : /\b(vbObjectError|vbCr|VbCrLf|vbFormFeed|vbLf|vbNewLine|vbNullChar|vbNullString|vbTab|vbVerticalTab|vbUseDefault|vbTrue)\b/gi, output : '$1' },
- { input : /\b(vbFalse|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant)\b/gi, output : '$1' },
- { input : /\b(vbDataObject|vbDecimal|vbByte|vbArray)\b/gi, output : '$1' },
-// html comments
- { input : /(<!--.*?-->.)/g, output : '$1' }
-]
-
-Language.Functions = [
- // Output at index 0, must be the desired tagname surrounding a $1
- // Name is the index from the regex that marks the functionname
- {input : /(function|sub)([ ]*?)(\w+)([ ]*?\()/gi , output : '$1', name : '$3'}
-]
-
-Language.snippets = [
-//Conditional
- { input : 'if', output : 'If $0 Then\n\t\nEnd If' },
- { input : 'ifelse', output : 'If $0 Then\n\t\n\nElse\n\t\nEnd If' },
- { input : 'case', output : 'Select Case $0\n\tCase ?\n\tCase Else\nEnd Select'},
-//Response
- { input : 'rw', output : 'Response.Write( $0 )' },
- { input : 'resc', output : 'Response.Cookies( $0 )' },
- { input : 'resb', output : 'Response.Buffer'},
- { input : 'resflu', output : 'Response.Flush()'},
- { input : 'resend', output : 'Response.End'},
-//Request
- { input : 'reqc', output : 'Request.Cookies( $0 )' },
- { input : 'rq', output : 'Request.Querystring("$0")' },
- { input : 'rf', output : 'Request.Form("$0")' },
-//FSO
- { input : 'fso', output : 'Set fso = Server.CreateObject("Scripting.FileSystemObject")\n$0' },
- { input : 'setfo', output : 'Set fo = fso.getFolder($0)' },
- { input : 'setfi', output : 'Set fi = fso.getFile($0)' },
- { input : 'twr', output : 'Set f = fso.CreateTextFile($0,true)\'overwrite\nf.WriteLine()\nf.Close'},
- { input : 'tre', output : 'Set f = fso.OpenTextFile($0, 1)\nf.ReadAll\nf.Close'},
-//Server
- { input : 'mapp', output : 'Server.Mappath($0)' },
-//Loops
- { input : 'foreach', output : 'For Each $0 in ?\n\t\nNext' },
- { input : 'for', output : 'For $0 to ? step ?\n\t\nNext' },
- { input : 'do', output : 'Do While($0)\n\t\nLoop' },
- { input : 'untilrs', output : 'do until rs.eof\n\t\nrs.movenext\nloop' },
-//ADO
- { input : 'adorec', output : 'Set rs = Server.CreateObject("ADODB.Recordset")' },
- { input : 'adocon', output : 'Set Conn = Server.CreateObject("ADODB.Connection")' },
- { input : 'adostr', output : 'Set oStr = Server.CreateObject("ADODB.Stream")' },
-//Http Request
- { input : 'xmlhttp', output : 'Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")\nxmlHttp.open("GET", $0, false)\nxmlHttp.send()\n?=xmlHttp.responseText' },
- { input : 'xmldoc', output : 'Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")\nxmldoc.async=false\nxmldoc.load(request)'},
-//Functions
- { input : 'func', output : 'Function $0()\n\t\n\nEnd Function'},
- { input : 'sub', output : 'Sub $0()\n\t\nEnd Sub'}
-
-]
-
-Language.complete = [
- //{ input : '\'', output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = [
- { input : '[space]', output : ' ' },
- { input : '[enter]', output : '
' } ,
- { input : '[j]', output : 'testing' },
- { input : '[7]', output : '&' }
-]
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/autoit.css b/thirdparty/tinymce-advcode/js/codepress/languages/autoit.css
deleted file mode 100644
index 953ed8669..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/autoit.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * CodePress color styles for AutoIt syntax highlighting
- */
-
-u {font-style:normal;color:#000090;font-weight:bold;font-family:Monospace;}
-var {color:#AA0000;font-weight:bold;font-style:normal;}
-em {color:#FF33FF;}
-ins {color:#AC00A9;}
-i {color:#F000FF;}
-b {color:#FF0000;}
-a {color:#0080FF;font-weight:bold;}
-s, s u, s b {color:#9999CC;font-weight:normal;}
-cite, cite *{color:#009933;font-weight:normal;}
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/autoit.js b/thirdparty/tinymce-advcode/js/codepress/languages/autoit.js
deleted file mode 100644
index c34ecc616..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/autoit.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * CodePress regular expressions for AutoIt syntax highlighting
- * @author: James Brooks, Michael HURNI
- */
-
-// AutoIt
-Language.syntax = [
- { input : /({|}|\(|\))/g, output : '$1' }, // Brackets
- { input : /(\*|\+|-)/g, output : '$1' }, // Operator
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : "\"$1$2" }, // strings double
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single
- { input : /\b([\d]+)\b/g, output : '$1' }, // Numbers
- { input : /#(.*?)(
|<\/P>)/g, output : '#$1$2' }, // Directives and Includes
- { input : /(\$[\w\.]*)/g, output : '$1' }, // vars
- { input : /(_[\w\.]*)/g, output : '$1' }, // underscored word
- { input : /(\@[\w\.]*)/g, output : '$1' }, // Macros
- { input : /\b(Abs|ACos|AdlibDisable|AdlibEnable|Asc|AscW|ASin|Assign|ATan|AutoItSetOption|AutoItWinGetTitle|AutoItWinSetTitle|Beep|Binary|BinaryLen|BinaryMid|BinaryToString|BitAND|BitNOT|BitOR|BitSHIFT|BitXOR|BlockInput|Break|Call|CDTray|Ceiling|Chr|ChrW|ClipGet|ClipPut|ConsoleRead|ConsoleWrite|ConsoleWriteError|ControlClick|ControlCommand|ControlDisable|ControlEnable|ControlFocus|ControlGetFocus|ControlGetHandle|ControlGetPos|ControlGetText|ControlHide|ControlListView|ControlMove|ControlSend|ControlSetText|ControlShow|Cos|Dec|DirCopy|DirCreate|DirGetSize|DirMove|DirRemove|DllCall|DllCall|DllClose|DllOpen|DllStructCreate|DllStructGetData|DllStructGetPtr|DllStructGetSize|DllStructSetData|DriveGetDrive|DriveGetFileSystem|DriveGetLabel|DriveGetSerial|DriveGetType|DriveMapAdd|DriveMapDel|DriveMapGet|DriveSetLabel|DriveSpaceFree|DriveSpaceTotal|DriveStatus|EnvGet|EnvSet|EnvUpdate|Eval|Execute|Exp|FileChangeDir|FileClose|FileCopy|FileCreateNTFS|FileCreateShortcut|FileDelete|FileExists|FileFindFirstFile|FileFindNextFile|FileGetAttrib|FileGetLongName|FileGetShortcut|FileGetShortName|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileOpen|FileOpenDialog|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileSaveDialog|FileSelectFolder|FileSetAttrib|FileSetTime|FileWrite|FileWriteLine|Floor|FtpSetProxy|GuiCreate|GuiCtrlCreateAvi|GuiCtrlCreateButton|GuiCtrlCreateCheckbox|GuiCtrlCreateCombo|GuiCtrlCreateContextMenu|GuiCtrlCreateDate|GuiCtrlCreateDummy|GuiCtrlCreateEdit|GuiCtrlCreateGraphic|GuiCtrlCreateGroup|GuiCtrlCreateIcon|GuiCtrlCreateInput|GuiCtrlCreateLabel|GuiCtrlCreateList|GuiCtrlCreateListView|GuiCtrlCreateListViewItem|GuiCtrlCreateMenu|GuiCtrlCreateMenuItem|GuiCtrlCreateMonthCal|GuiCtrlCreateObj|GuiCtrlCreatePic|GuiCtrlCreateProgress|GuiCtrlCreateRadio|GuiCtrlCreateSlider|GuiCtrlCreateTab|GuiCtrlCreateTabItem|GuiCtrlCreateUpdown|GuiCtrlDelete|GuiCtrlGetHandle|GuiCtrlGetState|GuiCtrlRead|GuiCtrlRecvMsg|GuiCtrlSentMsg|GuiCtrlSendToDummy|GuiCtrlSetBkColor|GuiCtrlSetColor|GuiCtrlSetCursor|GuiCtrlSetData|GuiCtrlSetFont|GuiCtrlSetGraphic|GuiCtrlSetImage|GuiCtrlSetLimit|GuiCtrlSetOnEvent|GuiCtrlSetPos|GuiCtrlResizing|GuiCtrlSetState|GuiCtrlSetTip|GuiDelete|GuiGetCursorInfo|GuiGetMsg|GuiGetStyle|GuiRegisterMsg|GuiSetBkColor|GuiSetCoord|GuiSetCursor|GuiSetFont|GuiSetHelp|GuiSetIcon|GuiSetOnEvent|GuiSetStat|GuiSetStyle|GuiStartGroup|GuiSwitch|Hex|HotKeySet|HttpSetProxy|HWnd|InetGet|InetGetSize|IniDelete|IniRead|IniReadSection|IniReadSectionNames|IniRenameSection|IniWrite|IniWriteSection|InputBox|Int|IsAdmin|IsArray|IsBinary|IsBool|IsDeclared|IsDllStruct|IsFloat|IsHWnd|IsInt|IsKeyword|IsNumber|IsObj|IsString|Log|MemGetStats|Mod|MouseClick|MouseClickDrag|MouseDown|MouseGetCursor|MouseGetPos|MouseMove|MouseUp|MouseWheel|MsgBox|Number|ObjCreate|ObjEvent|ObjGet|ObjName|Ping|PixelCheckSum|PixelGetColor|PixelSearch|ProcessClose|ProcessExists|ProcessList|ProcessSetPriority|ProcessWait|ProcessWaitClose|ProgressOff|ProcessOn|ProgressSet|Random|RegDelete|RegEnumKey|RegEnumVal|RegRead|RegWrite|Round|Run|RunAsSet|RunWait|Send|SetError|SetExtended|ShellExecute|ShellExecuteWait|Shutdown|Sin|Sleep|SoundPlay|SoundSetWaveVolume|SplashImageOn|SplashOff|SplashTextOn|Sqrt|SRandom|StatusbarGetText|StderrRead|StdinWrite|StdoutRead|String|StringAddCR|StringCompare|StringFormat|StringInStr|StringIsAlNum|StringIsAlpha|StringIsASCII|StringIsDigit|StringIsFloat|StringIsInt|StringIsLower|StringIsSpace|StringIsUpper|StringIsXDigit|StringLeft|StringLen|StringLower|StringMid|StringRegExp|StringRegExpReplace|StringReplace|StringRight|StringSplit|StringStripCR|StringStripWS|StringToBinary|StringTrimLeft|StringTrimRight|StringUpper|Tan|TCPAccept|TCPCloseSocket|TCPConnect|TCPListen|TCPNameToIP|TCPrecv|TCPSend|TCPShutdown|TCPStartup|TimerDiff|TimerInit|ToolTip|TrayCreateItem|TrayCreateMenu|TrayGetMenu|TrayGetMsg|TrayItemDelete|TrayItemGetHandle|TrayItemGetState|TrayItemGetText|TrayItemSetOnEvent|TrayItemSetState|TrayItemSetText|TraySetClick|TraySetIcon|TraySetOnEvent|TraySetPauseIcon|TraySetState|TraySetToolTip|TrayTip|UBound|UDPBind|UDPCloseSocket|UDPOpen|UDPRecv|UDPSend|WinActivate|WinActive|WinClose|WinExists|WinFlash|WinGetCaretPos|WinGetClassList|WinGetClientSize|WinGetHandle|WinGetPos|WinGetProcess|WinGetState|WinGetText|WinGetTitle|WinKill|WinList|WinMenuSelectItem|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinSetOnTop|WinSetState|WinSetTitle|WinSetTrans|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/g, output : '$1' } ,// reserved words
- { input : /\B;(.*?)(
|<\/P>)/g, output : ';$1$2' }, // comments
- { input : /#CS(.*?)#CE/g, output : '#CS$1#CE' } // Block Comments
-]
-
-Language.snippets = []
-
-Language.complete = [
-{ input : '\'',output : '\'$0\'' },
-{ input : '"', output : '"$0"' },
-{ input : '(', output : '\($0\)' },
-{ input : '[', output : '\[$0\]' },
-{ input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/csharp.css b/thirdparty/tinymce-advcode/js/codepress/languages/csharp.css
deleted file mode 100644
index 6415d6550..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/csharp.css
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * CodePress color styles for Java syntax highlighting
- * By Edwin de Jonge
- */
-
-b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
-a {color:#2A0088;font-weight:bold;font-style:normal;} /* types */
-i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
-s, s b {color:#2A00FF;font-weight:normal;} /* strings */
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/csharp.js b/thirdparty/tinymce-advcode/js/codepress/languages/csharp.js
deleted file mode 100644
index 20fdd91ee..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/csharp.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * CodePress regular expressions for C# syntax highlighting
- * By Edwin de Jonge
- */
-
-Language.syntax = [ // C#
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single quote
- { input : /\b(abstract|as|base|break|case|catch|checked|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|get|goto|if|implicit|in|interface|internal|is|lock|namespace|new|null|object|operator|out|override|params|partial|private|protected|public|readonly|ref|return|set|sealed|sizeof|static|stackalloc|switch|this|throw|true|try|typeof|unchecked|unsafe|using|value|virtual|while)\b/g, output : '$1' }, // reserved words
- { input : /\b(bool|byte|char|class|double|float|int|interface|long|string|struct|void)\b/g, output : '$1' }, // types
- { input : /([^:]|^)\/\/(.*?)(
//$2$1)' }, // parameters
- { input : /\/\*(.*?)\*\//g,output : '/*$1*/'} // comments
-]
-
-Language.snippets = []
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/generic.css b/thirdparty/tinymce-advcode/js/codepress/languages/generic.css
deleted file mode 100644
index 3d52b6b00..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/generic.css
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * CodePress color styles for generic syntax highlighting
- */
-
-b {color:#7F0055;font-weight:bold;} /* reserved words */
-u {color:darkblue;font-weight:bold;} /* special words */
-i, i b, i s, i u, i em {color:green;font-weight:normal;} /* comments */
-s, s b, s em {color:#2A00FF;font-weight:normal;} /* strings */
-em {font-weight:bold;} /* special chars */
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/generic.js b/thirdparty/tinymce-advcode/js/codepress/languages/generic.js
deleted file mode 100644
index 8289da083..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/generic.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * CodePress regular expressions for generic syntax highlighting
- */
-
-// generic languages
-Language.syntax = [
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single quote
- { input : /\b(abstract|continue|for|new|switch|default|goto|boolean|do|if|private|this|break|double|protected|throw|byte|else|import|public|throws|case|return|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|const|float|while|function|label)\b/g, output : '$1' }, // reserved words
- { input : /([\(\){}])/g, output : '$1' }, // special chars;
- { input : /([^:]|^)\/\/(.*?)(
//$2$3' }, // comments //
- { input : /\/\*(.*?)\*\//g, output : '/*$1*/' } // comments /* */
-]
-
-Language.snippets = []
-
-Language.complete = [
- { input : '\'', output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/html.css b/thirdparty/tinymce-advcode/js/codepress/languages/html.css
deleted file mode 100644
index 35617cb63..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/html.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * CodePress color styles for HTML syntax highlighting
- */
-
-b {color:#000080;} /* tags */
-ins, ins b, ins s, ins em {color:gray;} /* comments */
-s, s b {color:#7777e4;} /* attribute values */
-a {color:green;} /* links */
-u {color:#E67300;} /* forms */
-big {color:#db0000;} /* images */
-em, em b {color:#800080;} /* style */
-strong {color:#800000;} /* script */
-tt i {color:darkblue;font-weight:bold;} /* script reserved words */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/html.js b/thirdparty/tinymce-advcode/js/codepress/languages/html.js
deleted file mode 100644
index 94469b448..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/html.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * CodePress regular expressions for HTML syntax highlighting
- */
-
-// HTML
-Language.syntax = [
- { input : /(<[^!]*?>)/g, output : '$1' }, // all tags
- { input : /(<a .*?>|<\/a>)/g, output : '$1' }, // links
- { input : /(<img .*?>)/g, output : '$1' }, // images
- { input : /(<\/?(button|textarea|form|input|select|option|label).*?>)/g, output : '$1' }, // forms
- { input : /(<style.*?>)(.*?)(<\/style>)/g, output : '$1$2$3' }, // style tags
- { input : /(<script.*?>)(.*?)(<\/script>)/g, output : '$1$2$3' }, // script tags
- { input : /=(".*?")/g, output : '=$1' }, // atributes double quote
- { input : /=('.*?')/g, output : '=$1' }, // atributes single quote
- { input : /(<!--.*?-->.)/g, output : '$1' }, // comments
- { input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '$1' } // script reserved words
-]
-
-Language.snippets = [
- { input : 'aref', output : '' },
- { input : 'h1', output : '$0
' },
- { input : 'h2', output : '$0
' },
- { input : 'h3', output : '$0
' },
- { input : 'h4', output : '$0
' },
- { input : 'h5', output : '$0
' },
- { input : 'h6', output : '$0
' },
- { input : 'html', output : '\n\t$0\n' },
- { input : 'head', output : '\n\t\n\t\n\t
' },
- { input : 'fieldset', output : '' },
- { input : 'form', output : '' },
- { input : 'meta', output : '' },
- { input : 'p', output : '\n\t
' },
- { input : 'style', output : '' }
-]
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/java.css b/thirdparty/tinymce-advcode/js/codepress/languages/java.css
deleted file mode 100644
index 2339dedf5..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/java.css
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- * CodePress color styles for Java syntax highlighting
- */
-
-b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
-i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
-s, s b {color:#2A00FF;font-weight:normal;} /* strings */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/java.js b/thirdparty/tinymce-advcode/js/codepress/languages/java.js
deleted file mode 100644
index 61e9a0673..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/java.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * CodePress regular expressions for Java syntax highlighting
- */
-
-// Java
-Language.syntax = [
- { input : /\"(.*?)(\"| \n\t \n
|<\/P>)/g, output : '"$1$2'}, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2'}, // strings single quote
- { input : /\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/g, output : '$1'}, // reserved words
- { input : /([^:]|^)\/\/(.*?)(
//$2
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single quote
- { input : /\b(break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '$1' }, // reserved words
- { input : /\b(alert|isNaN|parent|Array|parseFloat|parseInt|blur|clearTimeout|prompt|prototype|close|confirm|length|Date|location|Math|document|element|name|self|elements|setTimeout|navigator|status|String|escape|Number|submit|eval|Object|event|onblur|focus|onerror|onfocus|onclick|top|onload|toString|onunload|unescape|open|valueOf|window|onmouseover)\b/g, output : '$1' }, // special words
- { input : /([^:]|^)\/\/(.*?)(
//$2$3' }, // comments //
- { input : /\/\*(.*?)\*\//g, output : '/*$1*/' } // comments /* */
-]
-
-Language.snippets = [
- { input : 'dw', output : 'document.write(\'$0\');' },
- { input : 'getid', output : 'document.getElementById(\'$0\')' },
- { input : 'fun', output : 'function $0(){\n\t\n}' },
- { input : 'func', output : 'function $0(){\n\t\n}' }
-]
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/perl.css b/thirdparty/tinymce-advcode/js/codepress/languages/perl.css
deleted file mode 100644
index d9bce85c5..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/perl.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * CodePress color styles for Perl syntax highlighting
- * By J. Nick Koston
- */
-
-b {color:#7F0055;font-weight:bold;} /* reserved words */
-i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
-s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
-a {color:#006700;font-weight:bold;} /* variables */
-em {color:darkblue;font-weight:bold;} /* functions */
-u {font-weight:bold;} /* special chars */
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/perl.js b/thirdparty/tinymce-advcode/js/codepress/languages/perl.js
deleted file mode 100644
index 5026e5d03..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/perl.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * CodePress regular expressions for Perl syntax highlighting
- * By J. Nick Koston
- */
-
-// Perl
-Language.syntax = [
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single quote
- { input : /([\$\@\%][\w\.]*)/g, output : '$1' }, // vars
- { input : /(sub\s+)([\w\.]*)/g, output : '$1$2' }, // functions
- { input : /\b(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|else|elsif|endgrent|endhostent|endnetent|endprotoent|endpwent|eof|eval|exec|exists|exit|fcntl|fileno|find|flock|for|foreach|fork|format|formlinegetc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyaddr|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|hostname|if|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|LoadExternals|local|localtime|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ordpack|package|pipe|pop|pos|print|printf|push|pwd|qq|quotemeta|qw|rand|read|readdir|readlink|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|stty|study|sub|substr|symlink|syscall|sysopen|sysread|system|syswritetell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unless|unlink|until|unpack|unshift|untie|use|utime|values|vec|waitpid|wantarray|warn|while|write)\b/g, output : '$1' }, // reserved words
- { input : /([\(\){}])/g, output : '$1' }, // special chars
- { input : /#(.*?)(
|<\/P>)/g, output : '#$1$2' } // comments
-]
-
-Language.snippets = []
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/php.css b/thirdparty/tinymce-advcode/js/codepress/languages/php.css
deleted file mode 100644
index b20a35cc8..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/php.css
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * CodePress color styles for PHP syntax highlighting
- */
-
-b {color:#000080;} /* tags */
-big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {color:gray;font-weight:normal;} /* comments */
-s, s b, strong s u, strong s cite {color:#5656fa;font-weight:normal;} /* attributes and strings */
-strong a, strong a u {color:#006700;font-weight:bold;} /* variables */
-em {color:#800080;font-style:normal;} /* style */
-ins {color:#800000;} /* script */
-strong u {color:#7F0055;font-weight:bold;} /* reserved words */
-cite, s cite {color:red;font-weight:bold;} /* */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/php.js b/thirdparty/tinymce-advcode/js/codepress/languages/php.js
deleted file mode 100644
index c7640ba1b..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/php.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * CodePress regular expressions for PHP syntax highlighting
- */
-
-// PHP
-Language.syntax = [
- { input : /(<[^!\?]*?>)/g, output : '$1' }, // all tags
- { input : /(<style.*?>)(.*?)(<\/style>)/g, output : '$1$2$3' }, // style tags
- { input : /(<script.*?>)(.*?)(<\/script>)/g, output : '$1$2$3' }, // script tags
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2'}, // strings single quote
- { input : /(<\?)/g, output : '$1' }, // .*
- { input : /(\?>)/g, output : '$1' }, // .*?>
- { input : /(<\?php|<\?=|<\?|\?>)/g, output : '$1' }, // php tags
- { input : /(\$[\w\.]*)/g, output : '$1' }, // vars
- { input : /\b(false|true|and|or|xor|__FILE__|exception|__LINE__|array|as|break|case|class|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|function|global|if|include|include_once|isset|list|new|print|require|require_once|return|static|switch|unset|use|while|__FUNCTION__|__CLASS__|__METHOD__|final|php_user_filter|interface|implements|extends|public|private|protected|abstract|clone|try|catch|throw|this)\b/g, output : '$1' }, // reserved words
- { input : /([^:])\/\/(.*?)(
//$2$3' }, // php comments //
- { input : /([^:])#(.*?)(
#$2$3' }, // php comments #
- { input : /\/\*(.*?)\*\//g, output : '/*$1*/' }, // php comments /* */
- { input : /(<!--.*?-->.)/g, output : '$1' } // html comments
-]
-
-Language.snippets = [
- { input : 'if', output : 'if($0){\n\t\n}' },
- { input : 'ifelse', output : 'if($0){\n\t\n}\nelse{\n\t\n}' },
- { input : 'else', output : '}\nelse {\n\t' },
- { input : 'elseif', output : '}\nelseif($0) {\n\t' },
- { input : 'do', output : 'do{\n\t$0\n}\nwhile();' },
- { input : 'inc', output : 'include_once("$0");' },
- { input : 'fun', output : 'function $0(){\n\t\n}' },
- { input : 'func', output : 'function $0(){\n\t\n}' },
- { input : 'while', output : 'while($0){\n\t\n}' },
- { input : 'for', output : 'for($0,,){\n\t\n}' },
- { input : 'fore', output : 'foreach($0 as ){\n\t\n}' },
- { input : 'foreach', output : 'foreach($0 as ){\n\t\n}' },
- { input : 'echo', output : 'echo \'$0\';' },
- { input : 'switch', output : 'switch($0) {\n\tcase "": break;\n\tdefault: ;\n}' },
- { input : 'case', output : 'case "$0" : break;' },
- { input : 'ret0', output : 'return false;' },
- { input : 'retf', output : 'return false;' },
- { input : 'ret1', output : 'return true;' },
- { input : 'rett', output : 'return true;' },
- { input : 'ret', output : 'return $0;' },
- { input : 'def', output : 'define(\'$0\',\'\');' },
- { input : '', output : 'php\n$0\n?>' }
-]
-
-Language.complete = [
- { input : '\'', output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = [
- { input : '[space]', output : ' ' },
- { input : '[enter]', output : '
' } ,
- { input : '[j]', output : 'testing' },
- { input : '[7]', output : '&' }
-]
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/ruby.css b/thirdparty/tinymce-advcode/js/codepress/languages/ruby.css
deleted file mode 100644
index b23166b9c..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/ruby.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * CodePress color styles for Ruby syntax highlighting
- */
-
-b {color:#7F0055;font-weight:bold;} /* reserved words */
-i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
-s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
-a {color:#006700;font-weight:bold;} /* variables */
-em {color:darkblue;font-weight:bold;} /* functions */
-u {font-weight:bold;} /* special chars */
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/ruby.js b/thirdparty/tinymce-advcode/js/codepress/languages/ruby.js
deleted file mode 100644
index 860f43381..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/ruby.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * CodePress regular expressions for Perl syntax highlighting
- */
-
-// Ruby
-Language.syntax = [
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' }, // strings double quote
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2' }, // strings single quote
- { input : /([\$\@\%]+)([\w\.]*)/g, output : '$1$2' }, // vars
- { input : /(def\s+)([\w\.]*)/g, output : '$1$2' }, // functions
- { input : /\b(alias|and|BEGIN|begin|break|case|class|def|defined|do|else|elsif|END|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\b/g, output : '$1' }, // reserved words
- { input : /([\(\){}])/g, output : '$1' }, // special chars
- { input : /#(.*?)(
|<\/P>)/g, output : '#$1$2' } // comments
-];
-
-Language.snippets = []
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/sql.css b/thirdparty/tinymce-advcode/js/codepress/languages/sql.css
deleted file mode 100644
index 17458c5a0..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/sql.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * CodePress color styles for SQL syntax highlighting
- * By Merlin Moncure
- */
-
-b {color:#0000FF;font-style:normal;font-weight:bold;} /* reserved words */
-u {color:#FF0000;font-style:normal;} /* types */
-a {color:#CD6600;font-style:normal;font-weight:bold;} /* commands */
-i, i b, i u, i a, i s {color:#A9A9A9;font-weight:normal;font-style:italic;} /* comments */
-s, s b, s u, s a, s i {color:#2A00FF;font-weight:normal;} /* strings */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/sql.js b/thirdparty/tinymce-advcode/js/codepress/languages/sql.js
deleted file mode 100644
index 605c971a8..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/sql.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CodePress regular expressions for SQL syntax highlighting
- * By Merlin Moncure
- */
-
-// SQL
-Language.syntax = [
- { input : /\'(.*?)(\')/g, output : '\'$1$2' }, // strings single quote
- { input : /\b(add|after|aggregate|alias|all|and|as|authorization|between|by|cascade|cache|cache|called|case|check|column|comment|constraint|createdb|createuser|cycle|database|default|deferrable|deferred|diagnostics|distinct|domain|each|else|elseif|elsif|encrypted|except|exception|for|foreign|from|from|full|function|get|group|having|if|immediate|immutable|in|increment|initially|increment|index|inherits|inner|input|intersect|into|invoker|is|join|key|language|left|like|limit|local|loop|match|maxvalue|minvalue|natural|nextval|no|nocreatedb|nocreateuser|not|null|of|offset|oids|on|only|operator|or|order|outer|owner|partial|password|perform|plpgsql|primary|record|references|replace|restrict|return|returns|right|row|rule|schema|security|sequence|session|sql|stable|statistics|table|temp|temporary|then|time|to|transaction|trigger|type|unencrypted|union|unique|user|using|valid|value|values|view|volatile|when|where|with|without|zone)\b/gi, output : '$1' }, // reserved words
- { input : /\b(bigint|bigserial|bit|boolean|box|bytea|char|character|cidr|circle|date|decimal|double|float4|float8|inet|int2|int4|int8|integer|interval|line|lseg|macaddr|money|numeric|oid|path|point|polygon|precision|real|refcursor|serial|serial4|serial8|smallint|text|timestamp|varbit|varchar)\b/gi, output : '$1' }, // types
- { input : /\b(abort|alter|analyze|begin|checkpoint|close|cluster|comment|commit|copy|create|deallocate|declare|delete|drop|end|execute|explain|fetch|grant|insert|listen|load|lock|move|notify|prepare|reindex|reset|restart|revoke|rollback|select|set|show|start|truncate|unlisten|update)\b/gi, output : '$1' }, // commands
- { input : /([^:]|^)\-\-(.*?)(
--$2$3' } // comments //
-]
-
-Language.snippets = [
- { input : 'select', output : 'select $0 from where ' }
-]
-
-Language.complete = [
- { input : '\'', output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
-
-
-
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/text.css b/thirdparty/tinymce-advcode/js/codepress/languages/text.css
deleted file mode 100644
index 8e5ba28fc..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/text.css
+++ /dev/null
@@ -1,5 +0,0 @@
-/*
- * CodePress color styles for Text syntax highlighting
- */
-
-/* do nothing as expected */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/text.js b/thirdparty/tinymce-advcode/js/codepress/languages/text.js
deleted file mode 100644
index 189543078..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/text.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * CodePress regular expressions for Text syntax highlighting
- */
-
-// plain text
-Language.syntax = []
-Language.snippets = []
-Language.complete = []
-Language.shortcuts = []
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.css b/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.css
deleted file mode 100644
index d65663b68..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * CodePress color styles for ASP-VB syntax highlighting
- * By Martin D. Kirk
- */
-
-/* tags */
-b {
- color:#000080;
-}
-/* comments */
-big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {
- color:gray;
- font-weight:normal;
-}
-/* ASP comments */
-strong dfn, strong dfn a,strong dfn var, strong dfn a u, strong dfn u{
- color:gray;
- font-weight:normal;
-}
- /* attributes */
-s, s b, span s u, span s cite, strong span s {
- color:#5656fa ;
- font-weight:normal;
-}
- /* strings */
-strong s,strong s b, strong s u, strong s cite {
- color:#009900;
- font-weight:normal;
-}
-strong ins{
- color:#000000;
- font-weight:bold;
-}
- /* Syntax */
-strong a, strong a u {
- color:#0000FF;
- font-weight:;
-}
- /* Native Keywords */
-strong u {
- color:#990099;
- font-weight:bold;
-}
-/* Numbers */
-strong var{
- color:#FF0000;
-}
-/* ASP Language */
-span{
- color:#990000;
- font-weight:bold;
-}
-strong i,strong a i, strong u i {
- color:#009999;
-}
-/* style */
-em {
- color:#800080;
- font-style:normal;
-}
- /* script */
-ins {
- color:#800000;
- font-weight:bold;
-}
-
-/* */
-cite, s cite {
- color:red;
- font-weight:bold;
-}
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.js b/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.js
deleted file mode 100644
index 74395397e..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/vbscript.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * CodePress regular expressions for ASP-vbscript syntax highlighting
- */
-
-// ASP VBScript
-Language.syntax = [
-// all tags
- { input : /(<[^!%|!%@]*?>)/g, output : '$1' },
-// style tags
- { input : /(<style.*?>)(.*?)(<\/style>)/g, output : '$1$2$3' },
-// script tags
- { input : /(<script.*?>)(.*?)(<\/script>)/g, output : '$1$2$3' },
-// strings "" and attributes
- { input : /\"(.*?)(\"|
|<\/P>)/g, output : '"$1$2' },
-// ASP Comment
- { input : /\'(.*?)(\'|
|<\/P>)/g, output : '\'$1$2'},
-// <%.*
- { input : /(<%)/g, output : '$1' },
-// .*%>
- { input : /(%>)/g, output : '$1' },
-// <%@...%>
- { input : /(<%@)(.+?)(%>)/gi, output : '$1$2$3' },
-//Numbers
- { input : /\b([\d]+)\b/g, output : '$1' },
-// Reserved Words 1 (Blue)
- { input : /\b(And|As|ByRef|ByVal|Call|Case|Class|Const|Dim|Do|Each|Else|ElseIf|Empty|End|Eqv|Exit|False|For|Function)\b/gi, output : '$1' },
- { input : /\b(Get|GoTo|If|Imp|In|Is|Let|Loop|Me|Mod|Enum|New|Next|Not|Nothing|Null|On|Option|Or|Private|Public|ReDim|Rem)\b/gi, output : '$1' },
- { input : /\b(Resume|Select|Set|Stop|Sub|Then|To|True|Until|Wend|While|With|Xor|Execute|Randomize|Erase|ExecuteGlobal|Explicit|step)\b/gi, output : '$1' },
-// Reserved Words 2 (Purple)
- { input : /\b(Abandon|Abs|AbsolutePage|AbsolutePosition|ActiveCommand|ActiveConnection|ActualSize|AddHeader|AddNew|AppendChunk)\b/gi, output : '$1' },
- { input : /\b(AppendToLog|Application|Array|Asc|Atn|Attributes|BeginTrans|BinaryRead|BinaryWrite|BOF|Bookmark|Boolean|Buffer|Byte)\b/gi, output : '$1' },
- { input : /\b(CacheControl|CacheSize|Cancel|CancelBatch|CancelUpdate|CBool|CByte|CCur|CDate|CDbl|Charset|Chr|CInt|Clear)\b/gi, output : '$1' },
- { input : /\b(ClientCertificate|CLng|Clone|Close|CodePage|CommandText|CommandType|CommandTimeout|CommitTrans|CompareBookmarks|ConnectionString|ConnectionTimeout)\b/gi, output : '$1' },
- { input : /\b(Contents|ContentType|Cookies|Cos|CreateObject|CreateParameter|CSng|CStr|CursorLocation|CursorType|DataMember|DataSource|Date|DateAdd|DateDiff)\b/gi, output : '$1' },
- { input : /\b(DatePart|DateSerial|DateValue|Day|DefaultDatabase|DefinedSize|Delete|Description|Double|EditMode|Eof|EOF|err|Error)\b/gi, output : '$1' },
- { input : /\b(Exp|Expires|ExpiresAbsolute|Filter|Find|Fix|Flush|Form|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent)\b/gi, output : '$1' },
- { input : /\b(GetChunk|GetLastError|GetRows|GetString|Global|HelpContext|HelpFile|Hex|Hour|HTMLEncode|IgnoreCase|Index|InStr|InStrRev)\b/gi, output : '$1' },
- { input : /\b(Int|Integer|IsArray|IsClientConnected|IsDate|IsolationLevel|Join|LBound|LCase|LCID|Left|Len|Lock|LockType|Log|Long|LTrim)\b/gi, output : '$1' },
- { input : /\b(MapPath|MarshalOptions|MaxRecords|Mid|Minute|Mode|Month|MonthName|Move|MoveFirst|MoveLast|MoveNext|MovePrevious|Name|NextRecordset)\b/gi, output : '$1' },
- { input : /\b(Now|Number|NumericScale|ObjectContext|Oct|Open|OpenSchema|OriginalValue|PageCount|PageSize|Pattern|PICS|Precision|Prepared|Property)\b/gi, output : '$1' },
- { input : /\b(Provider|QueryString|RecordCount|Redirect|RegExp|Remove|RemoveAll|Replace|Requery|Request|Response|Resync|Right|Rnd)\b/gi, output : '$1' },
- { input : /\b(RollbackTrans|RTrim|Save|ScriptTimeout|Second|Seek|Server|ServerVariables|Session|SessionID|SetAbort|SetComplete|Sgn)\b/gi, output : '$1' },
- { input : /\b(Sin|Size|Sort|Source|Space|Split|Sqr|State|StaticObjects|Status|StayInSync|StrComp|String|StrReverse|Supports|Tan|Time)\b/gi, output : '$1' },
- { input : /\b(Timeout|Timer|TimeSerial|TimeValue|TotalBytes|Transfer|Trim|Type|Type|UBound|UCase|UnderlyingValue|UnLock|Update|UpdateBatch)\b/gi, output : '$1' },
- { input : /\b(URLEncode|Value|Value|Version|Weekday|WeekdayName|Write|Year)\b/gi, output : '$1' },
-// Reserved Words 3 (Turquis)
- { input : /\b(vbBlack|vbRed|vbGreen|vbYellow|vbBlue|vbMagenta|vbCyan|vbWhite|vbBinaryCompare|vbTextCompare)\b/gi, output : '$1' },
- { input : /\b(vbSunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday|vbUseSystemDayOfWeek)\b/gi, output : '$1' },
- { input : /\b(vbFirstJan1|vbFirstFourDays|vbFirstFullWeek|vbGeneralDate|vbLongDate|vbShortDate|vbLongTime|vbShortTime)\b/gi, output : '$1' },
- { input : /\b(vbObjectError|vbCr|VbCrLf|vbFormFeed|vbLf|vbNewLine|vbNullChar|vbNullString|vbTab|vbVerticalTab|vbUseDefault|vbTrue)\b/gi, output : '$1' },
- { input : /\b(vbFalse|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant)\b/gi, output : '$1' },
- { input : /\b(vbDataObject|vbDecimal|vbByte|vbArray)\b/gi, output : '$1' },
-// html comments
- { input : /(<!--.*?-->.)/g, output : '$1' }
-]
-
-Language.Functions = [
- // Output at index 0, must be the desired tagname surrounding a $1
- // Name is the index from the regex that marks the functionname
- {input : /(function|sub)([ ]*?)(\w+)([ ]*?\()/gi , output : '$1', name : '$3'}
-]
-
-Language.snippets = [
-//Conditional
- { input : 'if', output : 'If $0 Then\n\t\nEnd If' },
- { input : 'ifelse', output : 'If $0 Then\n\t\n\nElse\n\t\nEnd If' },
- { input : 'case', output : 'Select Case $0\n\tCase ?\n\tCase Else\nEnd Select'},
-//Response
- { input : 'rw', output : 'Response.Write( $0 )' },
- { input : 'resc', output : 'Response.Cookies( $0 )' },
- { input : 'resb', output : 'Response.Buffer'},
- { input : 'resflu', output : 'Response.Flush()'},
- { input : 'resend', output : 'Response.End'},
-//Request
- { input : 'reqc', output : 'Request.Cookies( $0 )' },
- { input : 'rq', output : 'Request.Querystring("$0")' },
- { input : 'rf', output : 'Request.Form("$0")' },
-//FSO
- { input : 'fso', output : 'Set fso = Server.CreateObject("Scripting.FileSystemObject")\n$0' },
- { input : 'setfo', output : 'Set fo = fso.getFolder($0)' },
- { input : 'setfi', output : 'Set fi = fso.getFile($0)' },
- { input : 'twr', output : 'Set f = fso.CreateTextFile($0,true)\'overwrite\nf.WriteLine()\nf.Close'},
- { input : 'tre', output : 'Set f = fso.OpenTextFile($0, 1)\nf.ReadAll\nf.Close'},
-//Server
- { input : 'mapp', output : 'Server.Mappath($0)' },
-//Loops
- { input : 'foreach', output : 'For Each $0 in ?\n\t\nNext' },
- { input : 'for', output : 'For $0 to ? step ?\n\t\nNext' },
- { input : 'do', output : 'Do While($0)\n\t\nLoop' },
- { input : 'untilrs', output : 'do until rs.eof\n\t\nrs.movenext\nloop' },
-//ADO
- { input : 'adorec', output : 'Set rs = Server.CreateObject("ADODB.Recordset")' },
- { input : 'adocon', output : 'Set Conn = Server.CreateObject("ADODB.Connection")' },
- { input : 'adostr', output : 'Set oStr = Server.CreateObject("ADODB.Stream")' },
-//Http Request
- { input : 'xmlhttp', output : 'Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")\nxmlHttp.open("GET", $0, false)\nxmlHttp.send()\n?=xmlHttp.responseText' },
- { input : 'xmldoc', output : 'Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")\nxmldoc.async=false\nxmldoc.load(request)'},
-//Functions
- { input : 'func', output : 'Function $0()\n\t\n\nEnd Function'},
- { input : 'sub', output : 'Sub $0()\n\t\nEnd Sub'}
-
-]
-
-Language.complete = [
- //{ input : '\'', output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = [
- { input : '[space]', output : ' ' },
- { input : '[enter]', output : '
' } ,
- { input : '[j]', output : 'testing' },
- { input : '[7]', output : '&' }
-]
\ No newline at end of file
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/xsl.css b/thirdparty/tinymce-advcode/js/codepress/languages/xsl.css
deleted file mode 100644
index 32634b6ca..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/xsl.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * CodePress color styles for HTML syntax highlighting
- * By RJ Bruneel
- */
-
-b {color:#000080;} /* tags */
-ins, ins b, ins s, ins em {color:gray;} /* comments */
-s, s b {color:#7777e4;} /* attribute values */
-a {color:#E67300;} /* links */
-u {color:#CC66CC;} /* forms */
-big {color:#db0000;} /* images */
-em, em b {color:#800080;} /* style */
-strong {color:#800000;} /* script */
-tt i {color:darkblue;font-weight:bold;} /* script reserved words */
-xsl {color:green;} /* xsl */
diff --git a/thirdparty/tinymce-advcode/js/codepress/languages/xsl.js b/thirdparty/tinymce-advcode/js/codepress/languages/xsl.js
deleted file mode 100644
index b23d3591f..000000000
--- a/thirdparty/tinymce-advcode/js/codepress/languages/xsl.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * CodePress regular expressions for XSL syntax highlighting
- * By RJ Bruneel
- */
-
-Language.syntax = [ // XSL
- {
- input : /(<[^!]*?>)/g,
- output : '$1' // all tags
- },{
- input : /(<a.*?>|<\/a>)/g,
- output : '$1' // links
- },{
- input : /(<img .*?>)/g,
- output : '$1' // images
- },{
- input : /(<\/?(button|textarea|form|input|select|option|label).*?>)/g,
- output : '$1' // forms
- },{
- input : /(<style.*?>)(.*?)(<\/style>)/g,
- output : '$1$2$3' // style tags
- },{
- input : /(<script.*?>)(.*?)(<\/script>)/g,
- output : '$1$2$3' // script tags
- },{
- input : /(<xsl.*?>|<\/xsl.*?>)/g,
- output : '$1' // atributes double quote
- },{
- input : /=('.*?')/g,
- output : '=$1' // atributes single quote
- },{
- input : /(<!--.*?-->.)/g,
- output : '$1' // comments
- },{
- input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g,
- output : '$1' // script reserved words
- }
-];
-
-Language.snippets = [
- {input : 'aref', output : '' },
- {input : 'h1', output : '$0
' },
- {input : 'h2', output : '$0
' },
- {input : 'h3', output : '$0
' },
- {input : 'h4', output : '$0
' },
- {input : 'h5', output : '$0
' },
- {input : 'h6', output : '$0
' },
- {input : 'html', output : '\n\t$0\n' },
- {input : 'head', output : '\n\t\n\t\n\t
' },
- {input : 'fieldset', output : '' },
- {input : 'form', output : '' },
- {input : 'meta', output : '' },
- {input : 'p', output : '$0
' },
- {input : 'ol', output : '$0
' },
- {input : 'strong', output : '$0' },
- {input : 'br', output : '
' },
- {input : 'script', output : '' },
- {input : 'scriptsrc', output : '' },
- {input : 'span', output : '$0' },
- {input : 'table', output : '\n\t
' },
- {input : 'style', output : '' },
- {input : 'xsl:stylesheet', output : ' \n\t \n