Sha256: ac945899ea41a97b50294ba7011be24293815a60f60be541c24554d041fb5c4d

Contents?: true

Size: 921 Bytes

Versions: 8

Compression:

Stored size: 921 Bytes

Contents

ace.define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){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));e.on("changeStatus",function(){n.schedule(100)}),e.on("changeSelection",function(){n.schedule(100)})};(function(){this.updateStatus=function(e){function n(e,n){e&&t.push(e,n||"|")}var t=[];e.$vimModeHandler?n(e.$vimModeHandler.getStatusText()):e.commands.recording&&n("REC");var r=e.selection.lead;n(r.row+":"+r.column," ");if(!e.selection.isEmpty()){var i=e.getSelectionRange();n("("+(i.end.row-i.start.row)+":"+(i.end.column-i.start.column)+")")}t.pop(),this.element.textContent=t.join("")}}).call(s.prototype),t.StatusBar=s})

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
smithycms-0.4.2 app/assets/javascripts/ace/ext-statusbar.js
smithycms-0.4.1 app/assets/javascripts/ace/ext-statusbar.js
smithycms-0.4.0 app/assets/javascripts/ace/ext-statusbar.js
smithycms-0.0.3 app/assets/javascripts/ace/ext-statusbar.js
smithycms-0.0.2 app/assets/javascripts/ace/ext-statusbar.js
publisci-server-0.0.1 lib/publisci/public/src-min-noconflict/ext-statusbar.js
publisci-0.1.2 server/public/src-min-noconflict/ext-statusbar.js
bio-publisci-0.1.0 server/public/src-min-noconflict/ext-statusbar.js