1//this is a sample code. Jeong Kyu Eum 2//tool handler function 3Telerik.Web.UI.Editor.CommandList["video"] = 4//function name is not needed. 5function(commandName,editor,oTool) 6{ 7 // RadEditor old version using editor.ShowDialog function 8 // RadEditor Ajax version using editor.showExternalDialog function 9 editor.showExternalDialog( 10 "/common/plugins/RadEditorAjax/video/REVideoRadAjax.aspx",null, 11 //dimension 12 560,300, 13 //function that is executed when the dialog is closed with the return value. 14 //see Default.aspx file 15 function(sender, returnValue) 16 { 17 if(returnValue) 18 { 19 editor.pasteHtml(returnValue); 20 } 21 }, 22 null, 23 'Video', 24 true, 25 Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 26 false, 27 true); 28};
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.