All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ber-security.graylog.graylog-plugin-alert-wizard.5.2.1.source-code.2f55cddc8eb85b63ee5b4ce0e5488230.js Maven / Gradle / Ivy

The newest version!
(()=>{var h=(o,n)=>()=>(n||o((n={exports:{}}).exports,n),n.exports);var m=h((x,l)=>{ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(o,n,E){"use strict";var a=o("../lib/event");n.contextMenuHandler=function(u){var e=u.target,i=e.textInput.getElement();if(e.selection.isEmpty()){var f=e.getCursorPosition(),d=e.session.getWordRange(f.row,f.column),s=e.session.getTextRange(d);if(e.session.tokenRe.lastIndex=0,!!e.session.tokenRe.test(s)){var g="",r=s+" "+g;i.value=r,i.setSelectionRange(s.length,s.length+1),i.setSelectionRange(0,0),i.setSelectionRange(0,s.length);var v=!1;a.addListener(i,"keydown",function t(){a.removeListener(i,"keydown",t),v=!0}),e.textInput.setInputHandler(function(t){if(t==r)return"";if(t.lastIndexOf(r,0)===0)return t.slice(r.length);if(t.substr(i.selectionEnd)==r)return t.slice(0,-r.length);if(t.slice(-2)==g){var c=t.slice(0,-2);if(c.slice(-1)==" ")return v?c.substring(0,i.selectionEnd):(c=c.slice(0,-1),e.session.replace(d,c),"")}return t})}}};var p=o("../editor").Editor;o("../config").defineOptions(p.prototype,"editor",{spellcheck:{set:function(u){var e=this.textInput.getElement();e.spellcheck=!!u,u?this.on("nativecontextmenu",n.contextMenuHandler):this.removeListener("nativecontextmenu",n.contextMenuHandler)},value:!0}})});(function(){ace.require(["ace/ext/spellcheck"],function(o){typeof l=="object"&&typeof x=="object"&&l&&(l.exports=o)})})()});m();})();

//# sourceMappingURL=2f55cddc8eb85b63ee5b4ce0e5488230.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy