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

web-interface.assets.9b8e2282f60f104ff3ace5b905af4d62.js Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],(function(require,exports,e){var o=require("../editor").Editor;function i(e){var o=e.editor;if(e.getAccelKey()){o=e.editor;var i=e.getDocumentPosition(),n=o.session.getTokenAt(i.row,i.column);exports.previousLinkingHover&&exports.previousLinkingHover!=n&&o._emit("linkHoverOut"),o._emit("linkHover",{position:i,token:n}),exports.previousLinkingHover=n}else exports.previousLinkingHover&&(o._emit("linkHoverOut"),exports.previousLinkingHover=!1)}function n(e){var o=e.getAccelKey();if(0==e.getButton()&&o){var i=e.editor,n=e.getDocumentPosition(),t=i.session.getTokenAt(n.row,n.column);i._emit("linkClick",{position:n,token:t})}}require("../config").defineOptions(o.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",n),this.on("mousemove",i)):(this.off("click",n),this.off("mousemove",i))},value:!1}}),exports.previousLinkingHover=!1})),ace.require(["ace/ext/linking"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));




© 2015 - 2024 Weber Informatics LLC | Privacy Policy