Sha256: 9f57e1a88b3ae0487e21cd672d7ea38e90c2d600e4fb7d098c1fcd97f0100ba3

Contents?: true

Size: 1.25 KB

Versions: 58

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("ace/lib/dom"),i=e("ace/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

58 entries across 58 versions & 3 rubygems

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