Sha256: a6da83b5961fd7f6bdb3d6a033fb04ac9ec4078966e901e708f4914c2dd193b1

Contents?: true

Size: 1.25 KB

Versions: 16

Compression:

Stored size: 1.25 KB

Contents

ace.define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/lang"),s=function(e,t){this.element=r.createElement("div"),this.element.className="ace_status-indicator",this.element.style.cssText="display: inline-block;",t.appendChild(this.element);var n=i.delayedCall(function(){this.updateStatus(e)}.bind(this)).schedule.bind(null,100);e.on("changeStatus",n),e.on("changeSelection",n),e.on("keyboardActivity",n)};(function(){this.updateStatus=function(e){function n(e,n){e&&t.push(e,n||"|")}var t=[];n(e.keyBinding.getStatusText(e)),e.commands.recording&&n("REC");var r=e.selection,i=r.lead;if(!r.isEmpty()){var s=e.getSelectionRange();n("("+(s.end.row-s.start.row)+":"+(s.end.column-s.start.column)+")"," ")}n(i.row+":"+i.column," "),r.rangeCount&&n("["+r.rangeCount+"]"," "),t.pop(),this.element.textContent=t.join("")}}).call(s.prototype),t.StatusBar=s});                (function() {
                    ace.require(["ace/ext/statusbar"], function(m) {
                        if (typeof module == "object" && typeof exports == "object" && module) {
                            module.exports = m;
                        }
                    });
                })();
            

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
gollum-5.3.3 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
optimacms-0.1.61 spec/dummy/node_modules/ace-builds/src-min-noconflict/ext-statusbar.js
gollum-5.3.2 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.3.1 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.3.0 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.2.3 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.2.2 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.2.1 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.2 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.1.2 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.1.1 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.1 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.0.1 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
gollum-5.0.0 lib/gollum/public/gollum/javascript/ace/ext-statusbar.js
activeadmin_ace_editor-0.3.0 vendor/assets/javascripts/ace-src-min-noconflict/ext-statusbar.js
activeadmin_ace_editor-0.2.0 app/assets/javascripts/activeadmin/ace-src-min-noconflict/ext-statusbar.js