1// Name: HTMLEditor.Toolbar_buttons.Paste.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.1.7.1213 4// FileVersion: 4.1.7.1213 5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton"); 6 7Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste = function(element) { 8 Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste.initializeBase(this, [element]); 9} 10 11Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste.prototype = { 12 canBeShown : function() { 13 return Sys.Extended.UI.HTMLEditor.isIE; 14 }, 15 16 callMethod : function() { 17 if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste.callBaseMethod(this, "callMethod")) return false; 18 var editor = this._designPanel; 19 20 if(Sys.Extended.UI.HTMLEditor.isIE) { 21 editor._saveContent(); 22 editor.openWait(); 23 setTimeout(function(){editor._paste(true); editor.closeWait();},0) 24 } else { 25 var sel = editor._getSelection(); 26 var range = editor._createRange(sel); 27 28 editor._removeAllRanges(sel); 29 alert(String.format(Sys.Extended.UI.Resources.HTMLEditor_toolbar_button_Use_verb, (Sys.Extended.UI.HTMLEditor.isSafari && navigator.userAgent.indexOf("mac") != -1)?"Apple-V":"Ctrl-V" )); 30 editor._selectRange(sel,range); 31 editor.isWord = false; 32 editor.isPlainText = false; 33 } 34 } 35} 36 37Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.Paste", Sys.Extended.UI.HTMLEditor.ToolbarButton.MethodButton); 38
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.