PluginProbe ʕ •ᴥ•ʔ
Tracking Code Manager / 2.4.0
Tracking Code Manager v2.4.0
trunk 1.11.8 1.11.9 1.12.0 1.12.1 1.12.2 1.12.3 1.4 1.5 2.0.0 2.0.1 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 2.6.0
tracking-code-manager / assets / js / ace / ext-textarea.js
tracking-code-manager / assets / js / ace Last commit date
snippets 1 year ago ace.js 1 year ago ext-beautify.js 1 year ago ext-code_lens.js 1 year ago ext-elastic_tabstops_lite.js 1 year ago ext-emmet.js 1 year ago ext-error_marker.js 1 year ago ext-hardwrap.js 1 year ago ext-keybinding_menu.js 1 year ago ext-language_tools.js 1 year ago ext-linking.js 1 year ago ext-modelist.js 1 year ago ext-options.js 1 year ago ext-prompt.js 1 year ago ext-rtl.js 1 year ago ext-searchbox.js 1 year ago ext-settings_menu.js 1 year ago ext-spellcheck.js 1 year ago ext-split.js 1 year ago ext-static_highlight.js 1 year ago ext-statusbar.js 1 year ago ext-textarea.js 1 year ago ext-themelist.js 1 year ago ext-whitespace.js 1 year ago keybinding-emacs.js 1 year ago keybinding-sublime.js 1 year ago keybinding-vim.js 1 year ago keybinding-vscode.js 1 year ago mode-abap.js 1 year ago mode-abc.js 1 year ago mode-actionscript.js 1 year ago mode-ada.js 1 year ago mode-alda.js 1 year ago mode-apache_conf.js 1 year ago mode-apex.js 1 year ago mode-applescript.js 1 year ago mode-aql.js 1 year ago mode-asciidoc.js 1 year ago mode-asl.js 1 year ago mode-assembly_x86.js 1 year ago mode-autohotkey.js 1 year ago mode-batchfile.js 1 year ago mode-c9search.js 1 year ago mode-c_cpp.js 1 year ago mode-cirru.js 1 year ago mode-clojure.js 1 year ago mode-cobol.js 1 year ago mode-coffee.js 1 year ago mode-coldfusion.js 1 year ago mode-crystal.js 1 year ago mode-csharp.js 1 year ago mode-csound_document.js 1 year ago mode-csound_orchestra.js 1 year ago mode-csound_score.js 1 year ago mode-csp.js 1 year ago mode-css.js 1 year ago mode-curly.js 1 year ago mode-d.js 1 year ago mode-dart.js 1 year ago mode-diff.js 1 year ago mode-django.js 1 year ago mode-dockerfile.js 1 year ago mode-dot.js 1 year ago mode-drools.js 1 year ago mode-edifact.js 1 year ago mode-eiffel.js 1 year ago mode-ejs.js 1 year ago mode-elixir.js 1 year ago mode-elm.js 1 year ago mode-erlang.js 1 year ago mode-forth.js 1 year ago mode-fortran.js 1 year ago mode-fsharp.js 1 year ago mode-fsl.js 1 year ago mode-ftl.js 1 year ago mode-gcode.js 1 year ago mode-gherkin.js 1 year ago mode-gitignore.js 1 year ago mode-glsl.js 1 year ago mode-gobstones.js 1 year ago mode-golang.js 1 year ago mode-graphqlschema.js 1 year ago mode-groovy.js 1 year ago mode-haml.js 1 year ago mode-handlebars.js 1 year ago mode-haskell.js 1 year ago mode-haskell_cabal.js 1 year ago mode-haxe.js 1 year ago mode-hjson.js 1 year ago mode-html.js 1 year ago mode-html_elixir.js 1 year ago mode-html_ruby.js 1 year ago mode-ini.js 1 year ago mode-io.js 1 year ago mode-ion.js 1 year ago mode-jack.js 1 year ago mode-jade.js 1 year ago mode-java.js 1 year ago mode-javascript.js 1 year ago mode-json.js 1 year ago mode-json5.js 1 year ago mode-jsoniq.js 1 year ago mode-jsp.js 1 year ago mode-jssm.js 1 year ago mode-jsx.js 1 year ago mode-julia.js 1 year ago mode-kotlin.js 1 year ago mode-latex.js 1 year ago mode-latte.js 1 year ago mode-less.js 1 year ago mode-liquid.js 1 year ago mode-lisp.js 1 year ago mode-livescript.js 1 year ago mode-logiql.js 1 year ago mode-logtalk.js 1 year ago mode-lsl.js 1 year ago mode-lua.js 1 year ago mode-luapage.js 1 year ago mode-lucene.js 1 year ago mode-makefile.js 1 year ago mode-markdown.js 1 year ago mode-mask.js 1 year ago mode-matlab.js 1 year ago mode-maze.js 1 year ago mode-mediawiki.js 1 year ago mode-mel.js 1 year ago mode-mips.js 1 year ago mode-mixal.js 1 year ago mode-mushcode.js 1 year ago mode-mysql.js 1 year ago mode-nginx.js 1 year ago mode-nim.js 1 year ago mode-nix.js 1 year ago mode-nsis.js 1 year ago mode-nunjucks.js 1 year ago mode-objectivec.js 1 year ago mode-ocaml.js 1 year ago mode-partiql.js 1 year ago mode-pascal.js 1 year ago mode-perl.js 1 year ago mode-pgsql.js 1 year ago mode-php.js 1 year ago mode-php_laravel_blade.js 1 year ago mode-pig.js 1 year ago mode-plain_text.js 1 year ago mode-powershell.js 1 year ago mode-praat.js 1 year ago mode-prisma.js 1 year ago mode-prolog.js 1 year ago mode-properties.js 1 year ago mode-protobuf.js 1 year ago mode-puppet.js 1 year ago mode-python.js 1 year ago mode-qml.js 1 year ago mode-r.js 1 year ago mode-raku.js 1 year ago mode-razor.js 1 year ago mode-rdoc.js 1 year ago mode-red.js 1 year ago mode-redshift.js 1 year ago mode-rhtml.js 1 year ago mode-robot.js 1 year ago mode-rst.js 1 year ago mode-ruby.js 1 year ago mode-rust.js 1 year ago mode-sac.js 1 year ago mode-sass.js 1 year ago mode-scad.js 1 year ago mode-scala.js 1 year ago mode-scheme.js 1 year ago mode-scrypt.js 1 year ago mode-scss.js 1 year ago mode-sh.js 1 year ago mode-sjs.js 1 year ago mode-slim.js 1 year ago mode-smarty.js 1 year ago mode-smithy.js 1 year ago mode-snippets.js 1 year ago mode-soy_template.js 1 year ago mode-space.js 1 year ago mode-sparql.js 1 year ago mode-sql.js 1 year ago mode-sqlserver.js 1 year ago mode-stylus.js 1 year ago mode-svg.js 1 year ago mode-swift.js 1 year ago mode-tcl.js 1 year ago mode-terraform.js 1 year ago mode-tex.js 1 year ago mode-text.js 1 year ago mode-textile.js 1 year ago mode-toml.js 1 year ago mode-tsx.js 1 year ago mode-turtle.js 1 year ago mode-twig.js 1 year ago mode-typescript.js 1 year ago mode-vala.js 1 year ago mode-vbscript.js 1 year ago mode-velocity.js 1 year ago mode-verilog.js 1 year ago mode-vhdl.js 1 year ago mode-visualforce.js 1 year ago mode-wollok.js 1 year ago mode-xml.js 1 year ago mode-xquery.js 1 year ago mode-yaml.js 1 year ago mode-zeek.js 1 year ago theme-ambiance.js 1 year ago theme-chaos.js 1 year ago theme-chrome.js 1 year ago theme-cloud9_day.js 1 year ago theme-cloud9_night.js 1 year ago theme-cloud9_night_low_color.js 1 year ago theme-clouds.js 1 year ago theme-clouds_midnight.js 1 year ago theme-cobalt.js 1 year ago theme-crimson_editor.js 1 year ago theme-dawn.js 1 year ago theme-dracula.js 1 year ago theme-dreamweaver.js 1 year ago theme-eclipse.js 1 year ago theme-github.js 1 year ago theme-gob.js 1 year ago theme-gruvbox.js 1 year ago theme-gruvbox_dark_hard.js 1 year ago theme-gruvbox_light_hard.js 1 year ago theme-idle_fingers.js 1 year ago theme-iplastic.js 1 year ago theme-katzenmilch.js 1 year ago theme-kr_theme.js 1 year ago theme-kuroir.js 1 year ago theme-merbivore.js 1 year ago theme-merbivore_soft.js 1 year ago theme-mono_industrial.js 1 year ago theme-monokai.js 1 year ago theme-nord_dark.js 1 year ago theme-one_dark.js 1 year ago theme-pastel_on_dark.js 1 year ago theme-solarized_dark.js 1 year ago theme-solarized_light.js 1 year ago theme-sqlserver.js 1 year ago theme-terminal.js 1 year ago theme-textmate.js 1 year ago theme-tomorrow.js 1 year ago theme-tomorrow_night.js 1 year ago theme-tomorrow_night_blue.js 1 year ago theme-tomorrow_night_bright.js 1 year ago theme-tomorrow_night_eighties.js 1 year ago theme-twilight.js 1 year ago theme-vibrant_ink.js 1 year ago theme-xcode.js 1 year ago worker-base.js 1 year ago worker-coffee.js 1 year ago worker-css.js 1 year ago worker-html.js 1 year ago worker-javascript.js 1 year ago worker-json.js 1 year ago worker-lua.js 1 year ago worker-php.js 1 year ago worker-xml.js 1 year ago worker-xquery.js 1 year ago worker-yaml.js 1 year ago
ext-textarea.js
8 lines
1 ace.define("ace/ext/textarea",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/net","ace/ace"],function(e,t,n){"use strict";function a(e,t){for(var n in t)e.style[n]=t[n]}function f(e,t){if(e.type!="textarea")throw new Error("Textarea required!");var n=e.parentNode,i=document.createElement("div"),s=function(){var t="position:relative;";["margin-top","margin-left","margin-right","margin-bottom"].forEach(function(n){t+=n+":"+u(e,i,n)+";"});var n=u(e,i,"width")||e.clientWidth+"px",r=u(e,i,"height")||e.clientHeight+"px";t+="height:"+r+";width:"+n+";",t+="display:inline-block;",i.setAttribute("style",t)};r.addListener(window,"resize",s),s(),n.insertBefore(i,e.nextSibling);while(n!==document){if(n.tagName.toUpperCase()==="FORM"){var o=n.onsubmit;n.onsubmit=function(n){e.value=t(),o&&o.call(this,n)};break}n=n.parentNode}return i}function l(t,n,r){s.loadScript(t,function(){e([n],r)})}function c(e,t,n,r,i){function u(e){return e==="true"||e==1}var s=e.getSession(),o=e.renderer;return e.setDisplaySettings=function(t){t==null&&(t=n.style.display=="none"),t?(n.style.display="block",n.hideButton.focus(),e.on("focus",function r(){e.removeListener("focus",r),n.style.display="none"})):e.focus()},e.$setOption=e.setOption,e.$getOption=e.getOption,e.setOption=function(t,n){switch(t){case"mode":e.$setOption("mode","ace/mode/"+n);break;case"theme":e.$setOption("theme","ace/theme/"+n);break;case"keybindings":switch(n){case"vim":e.setKeyboardHandler("ace/keyboard/vim");break;case"emacs":e.setKeyboardHandler("ace/keyboard/emacs");break;default:e.setKeyboardHandler(null)}break;case"wrap":case"fontSize":e.$setOption(t,n);break;default:e.$setOption(t,u(n))}},e.getOption=function(t){switch(t){case"mode":return e.$getOption("mode").substr("ace/mode/".length);case"theme":return e.$getOption("theme").substr("ace/theme/".length);case"keybindings":var n=e.getKeyboardHandler();switch(n&&n.$id){case"ace/keyboard/vim":return"vim";case"ace/keyboard/emacs":return"emacs";default:return"ace"}break;default:return e.$getOption(t)}},e.setOptions(i),e}function h(e,n,i){function f(e,t,n,r){if(!n){e.push("<input type='checkbox' title='",t,"' ",r+""=="true"?"checked='true'":"","'></input>");return}e.push("<select title='"+t+"'>");for(var i in n)e.push("<option value='"+i+"' "),r==i&&e.push(" selected "),e.push(">",n[i],"</option>");e.push("</select>")}var s=null,o={mode:"Mode:",wrap:"Soft Wrap:",theme:"Theme:",fontSize:"Font Size:",showGutter:"Display Gutter:",keybindings:"Keyboard",showPrintMargin:"Show Print Margin:",useSoftTabs:"Use Soft Tabs:",showInvisibles:"Show Invisibles"},u={mode:{text:"Plain",javascript:"JavaScript",xml:"XML",html:"HTML",css:"CSS",scss:"SCSS",python:"Python",php:"PHP",java:"Java",ruby:"Ruby",c_cpp:"C/C++",coffee:"CoffeeScript",json:"json",perl:"Perl",clojure:"Clojure",ocaml:"OCaml",csharp:"C#",haxe:"haXe",svg:"SVG",textile:"Textile",groovy:"Groovy",liquid:"Liquid",Scala:"Scala"},theme:{clouds:"Clouds",clouds_midnight:"Clouds Midnight",cobalt:"Cobalt",crimson_editor:"Crimson Editor",dawn:"Dawn",gob:"Green on Black",eclipse:"Eclipse",idle_fingers:"Idle Fingers",kr_theme:"Kr Theme",merbivore:"Merbivore",merbivore_soft:"Merbivore Soft",mono_industrial:"Mono Industrial",monokai:"Monokai",pastel_on_dark:"Pastel On Dark",solarized_dark:"Solarized Dark",solarized_light:"Solarized Light",textmate:"Textmate",twilight:"Twilight",vibrant_ink:"Vibrant Ink"},showGutter:s,fontSize:{"10px":"10px","11px":"11px","12px":"12px","14px":"14px","16px":"16px"},wrap:{off:"Off",40:"40",80:"80",free:"Free"},keybindings:{ace:"ace",vim:"vim",emacs:"emacs"},showPrintMargin:s,useSoftTabs:s,showInvisibles:s},a=[];a.push("<table><tr><th>Setting</th><th>Value</th></tr>");for(var l in t.defaultOptions)a.push("<tr><td>",o[l],"</td>"),a.push("<td>"),f(a,l,u[l],i.getOption(l)),a.push("</td></tr>");a.push("</table>"),e.innerHTML=a.join("");var c=function(e){var t=e.currentTarget;i.setOption(t.title,t.value)},h=function(e){var t=e.currentTarget;i.setOption(t.title,t.checked)},p=e.getElementsByTagName("select");for(var d=0;d<p.length;d++)p[d].onchange=c;var v=e.getElementsByTagName("input");for(var d=0;d<v.length;d++)v[d].onclick=h;var m=document.createElement("input");m.type="button",m.value="Hide",r.addListener(m,"click",function(){i.setDisplaySettings(!1)}),e.appendChild(m),e.hideButton=m}var r=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/net"),o=e("../ace");n.exports=t=o;var u=function(e,t,n){var r=e.style[n];r||(window.getComputedStyle?r=window.getComputedStyle(e,"").getPropertyValue(n):r=e.currentStyle[n]);if(!r||r=="auto"||r=="intrinsic")r=t.style[n];return r};t.transformTextarea=function(e,n){var s=e.autofocus||document.activeElement==e,u,l=f(e,function(){return u.getValue()});e.style.display="none",l.style.background="white";var p=document.createElement("div");a(p,{top:"0px",left:"0px",right:"0px",bottom:"0px",border:"1px solid gray",position:"absolute"}),l.appendChild(p);var d=document.createElement("div");a(d,{position:"absolute",right:"0px",bottom:"0px",cursor:"nw-resize",border:"solid 9px",borderColor:"lightblue gray gray #ceade6",zIndex:101});var v=document.createElement("div"),m={top:"0px",left:"20%",right:"0px",bottom:"0px",position:"absolute",padding:"5px",zIndex:100,color:"white",display:"none",overflow:"auto",fontSize:"14px",boxShadow:"-5px 2px 3px gray"};i.isOldIE?m.backgroundColor="#333":m.backgroundColor="rgba(0, 0, 0, 0.6)",a(v,m),l.appendChild(v),n=n||t.defaultOptions;var g=o.edit(p);u=g.getSession(),u.setValue(e.value||e.innerHTML),s&&g.focus(),l.appendChild(d),c(g,p,v,o,n),h(v,d,g);var y="";return r.addListener(d,"mousemove",function(e){var t=this.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;n+r<(t.width+t.height)/2?(this.style.cursor="pointer",y="toggle"):(y="resize",this.style.cursor="nw-resize")}),r.addListener(d,"mousedown",function(e){e.preventDefault();if(y=="toggle"){g.setDisplaySettings();return}l.style.zIndex=1e5;var t=l.getBoundingClientRect(),n=t.width+t.left-e.clientX,i=t.height+t.top-e.clientY;r.capture(d,function(e){l.style.width=e.clientX-t.left+n+"px",l.style.height=e.clientY-t.top+i+"px",g.resize()},function(){})}),g},t.defaultOptions={mode:"javascript",theme:"textmate",wrap:"off",fontSize:"12px",showGutter:"false",keybindings:"ace",showPrintMargin:"false",useSoftTabs:"true",showInvisibles:"false"}}); (function() {
2 ace.require(["ace/ext/textarea"], function(m) {
3 if (typeof module == "object" && typeof exports == "object" && module) {
4 module.exports = m;
5 }
6 });
7 })();
8