Sha256: 4b6098c81861c71f3a21034dc53d5859eef479f6375ce89f2ff5f7eff87ae5f9

Contents?: true

Size: 1.2 KB

Versions: 58

Compression:

Stored size: 1.2 KB

Contents

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

Version data entries

58 entries across 58 versions & 3 rubygems

Version Path
card-mod-ace_editor-0.18.1 public/ace/ext-linking.js
card-mod-ace_editor-0.18.0 public/ace/ext-linking.js
card-mod-ace_editor-0.17.0 public/ace/ext-linking.js
card-mod-ace_editor-0.16.0 public/ace/ext-linking.js
card-mod-ace_editor-0.15.6 public/ace/ext-linking.js
card-mod-ace_editor-0.15.5 public/ace/ext-linking.js
card-mod-ace_editor-0.15.4 public/ace/ext-linking.js
card-mod-ace_editor-0.15.3 public/ace/ext-linking.js
card-mod-ace_editor-0.15.2.pre1 public/ace/ext-linking.js
card-mod-ace_editor-0.15.1.1 public/ace/ext-linking.js
card-mod-ace_editor-0.15.1 public/ace/ext-linking.js
card-mod-ace_editor-0.15.0 public/ace/ext-linking.js
card-mod-ace_editor-0.14.2 public/ace/ext-linking.js
card-mod-ace_editor-0.14.1 public/ace/ext-linking.js
card-mod-ace_editor-0.14.0 public/ace/ext-linking.js
card-mod-ace_editor-0.13.4 public/ace/ext-linking.js
card-mod-ace_editor-0.13.3 public/ace/ext-linking.js
card-mod-ace_editor-0.13.2 public/ace/ext-linking.js
card-mod-ace_editor-0.13.1 public/ace/ext-linking.js
card-mod-ace_editor-0.13.0 public/ace/ext-linking.js