1// Name: HTMLEditor.Toolbar_buttons.Rtl.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.5.7.1213 4// FileVersion: 4.5.7.1213 5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton"); 6 7Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl = function(element) { 8 Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl.initializeBase(this, [element]); 9} 10 11Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl.prototype = { 12 callMethod : function() { 13 if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl.callBaseMethod(this, "callMethod")) return false; 14 this._designPanel._doc.body.style.direction=(!this.checkState())?"rtl":""; 15 16 if(!Sys.Extended.UI.HTMLEditor.isIE) { 17 var sel = this._designPanel._getSelection(); 18 var range = this._designPanel._createRange(sel); 19 20 this._designPanel._removeAllRanges(sel); 21 22 this._designPanel._selectRange(sel,range); 23 this._designPanel.focusEditor(); 24 } 25 var button = this; 26 setTimeout(function(){button._editPanel.updateToolbar();},0); 27 }, 28 29 checkState : function() { 30 if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl.callBaseMethod(this, "checkState")) return false; 31 if(this._designPanel._doc.body.style.direction && this._designPanel._doc.body.style.direction=="rtl") return true; 32 return false; 33 } 34} 35 36Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.Rtl", Sys.Extended.UI.HTMLEditor.ToolbarButton.EditorToggleButton); 37
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.