/plugin/issuetracker/ |
H A D | xsEditor.js | 11 var sel = document.selection.createRange(); 12 sel.text = tag1 + sel.text; 24 var rep = tag1 + sel; 32 { var sel; 43 if(sel.text=='') { sel.text = '<a href=\"' + url + '\">' + url + '</a>'; } 44 else { sel.text = '<a href=\"' + url + '\">' + sel.text + '</a>'; } 52 if(sel==''){ sel=url; } 68 sel.text = tag1 + sel.text + tag2; 80 var rep = tag1 + sel + tag2; 96 var list = sel.text.split("\n"); [all …]
|
H A D | wysiwyg_editor.js | 14 var sel, range; 16 var sel = window.getSelection(); 17 if (sel.rangeCount) { 19 for (var i = 0, len = sel.rangeCount; i < len; ++i) { 20 container.appendChild(sel.getRangeAt(i).cloneContents()); 31 range = sel.getRangeAt(0); 44 var sel, range; 46 var sel = window.getSelection(); 47 if (sel.rangeCount) { 49 for (var i = 0, len = sel.rangeCount; i < len; ++i) { [all …]
|
/plugin/sketchcanvas/script/ |
H A D | newfigure.js | 24 var sel;
26 sel = DWgetSelection(ed);
28 sel = getSelection(ed);
30 addField('pre', ed.value.substr(0, sel.start));
31 addField('text', ed.value.substr(sel.start, sel.end - sel.start));
32 addField('suf', ed.value.substr(sel.end));
|
/plugin/edittable/script/ |
H A D | newtable.js | 34 var sel; 36 sel = window.DWgetSelection(ed); 38 sel = window.getSelection(ed); 40 addField('pre', ed.value.substr(0, sel.start)); 41 addField('text', ed.value.substr(sel.start, sel.end - sel.start)); 42 addField('suf', ed.value.substr(sel.end));
|
H A D | contextmenu.js | 183 var sel = this.getSelected(); 184 var info = this.mergeCells.mergedCellInfoCollection.getInfo(sel[0], sel[1]);
|
/plugin/toolbox/ |
H A D | ToolboxFindAndReplace.js | 105 var sel = DWgetSelection(textarea); 110 var found = findNextPosition(term, sel.end); 124 var sel = DWgetSelection(textarea); 125 if (sel.start === sel.end) { 186 var sel = DWgetSelection(textarea); 189 sel.start = start; 190 sel.end = start; 191 sel.scroll = undefined; 192 DWsetSelection(sel); 197 sel.end = start + len; [all …]
|
/plugin/abc2/abc-libraries/abc2svg/ |
H A D | clip-1.js | 28 function go_global_time(s,sel){var s2,bar_time,seq argument 29 if(sel.m<=1){if(sel.m==1){for(s2=s;s2;s2=s2.ts_next){if(s2.type==C.BAR&&s2.time!=0) 32 s=s2}}else{for(;s;s=s.ts_next){if(s.type==C.BAR&&s.bar_num>=sel.m) 36 if(sel.sq){seq=sel.sq 37 for(s=s.ts_next;s;s=s.ts_next){if(s.type==C.BAR&&s.bar_num==sel.m){if(--seq==0) 41 if(sel.t==0) 42 return s;bar_time=s.time+sel.t
|
/plugin/txt2tags/ |
H A D | linkwiz.js | 212 sel, stxt; 217 sel = DWgetSelection(dw_linkwiz.textArea); 218 if(sel.start == 0 && sel.end == 0) { 219 sel = dw_linkwiz.selection; 222 stxt = sel.getText(); 226 sel.end--; 227 stxt = sel.getText(); 257 pasteText(sel,link,{startofs: so, endofs: eo});
|
/plugin/flowchartjs/ |
H A D | script.js | 7 var sel = 'pre.flowchartjs'; 8 if (style != '') sel = sel + '.' + style; 10 jQuery(sel).each(function (index){
|
/plugin/dyncontent/ |
H A D | script.js | 227 sel, stxt; 232 sel = DWgetSelection(dw_linkwiz_v2.textArea); 233 if(sel.start == 0 && sel.end == 0) { 234 sel = dw_linkwiz_v2.selection; 237 stxt = sel.getText(); 241 sel.end--; 242 stxt = sel.getText(); 273 pasteText(sel,link,{startofs: so, endofs: eo});
|
/plugin/preregister/ |
H A D | action.php | 167 $sel =""; 168 $out = $this->format_cards($cards,$sel); 170 $form->setHiddenField('sel',implode("",$sel)); 174 $event->data->_hidden['sel'] = implode("",$sel); 238 function format_cards($cards,&$sel) { argument 239 $sel = array_slice($cards,0,3); 242 $out = $sel[0] . ' ' . $sel[1] . ' ' . $sel[2] . '<br />';
|
/plugin/indexmenu/scripts/ |
H A D | toolbarindexwizard.js | 272 let sel, ns, depth, syntax, eo; 276 sel = DWgetSelection(indexmenu_wiz.textArea); 278 sel = getSelection(indexmenu_wiz.textArea); 289 pasteText(sel, syntax, {startofs: 12, endofs: eo}); 298 let sel, selnum, syntax, number; 302 sel = DWgetSelection(indexmenu_wiz.textArea); 304 sel = getSelection(indexmenu_wiz.textArea); 307 selnum = parseInt(sel.getText()); 312 pasteText(sel, syntax, {startofs: 14, endofs: 2});
|
/plugin/favoris/ |
H A D | favoris.js | 108 var sel; 111 sel=window.getSelection(); 112 if(sel && sel.removeAllRanges) 113 sel.removeAllRanges();
|
/plugin/wysiwyg/fckeditor/editor/_source/internals/ |
H A D | fckselection_gecko.js | 32 var sel ; 33 try { sel = FCK.EditorWindow.getSelection() ; } catch (e) {} 35 if ( sel && sel.rangeCount == 1 ) 37 var range = sel.getRangeAt(0) ;
|
H A D | fck_gecko.js | 214 var sel = FCK.EditorWindow.getSelection() ; 215 if ( !sel || sel.rangeCount < 1 ) 217 var range = sel.getRangeAt( 0 );
|
/plugin/tfslink/scripts/ |
H A D | addworkitemlink_wiz.js | 133 var sel, pc, id, title, syntax; 137 sel = DWgetSelection(addworkitemlink_wiz.textArea); 139 sel = getSelection(addworkitemlink_wiz.textArea); 155 pasteText(sel, syntax,{startofs: 5, endofs: 2});
|
/plugin/autotabber/ |
H A D | taboverride.js | 208 sel, // the selected text 238 sel = text.slice(selStart, selEnd); 242 sel = range.text; 247 selStart = selEnd - sel.length; 255 selNewlines = sel.split(newline).length - 1; 274 if (selStart !== selEnd && sel.indexOf('\n') !== -1) { 341 sel = sel.slice(tabLen); 350 sel.replace(new RegExp('\n' + tab, 'g'), function () {
|
/plugin/ckgdoku/ckeditor/plugins/link/dialogs/ |
H A D | anchor.js | 47 var sel = editor.getSelection(), 48 range = sel && sel.getRanges()[ 0 ];
|
/plugin/ckgedit/ckeditor/plugins/link/dialogs/ |
H A D | anchor.js | 47 var sel = editor.getSelection(), 48 range = sel && sel.getRanges()[ 0 ];
|
/plugin/superacl/ |
H A D | admin.php | 766 $sel = ' selected="selected"'; 769 $sel = ''; 773 … echo ' <option value="'.hsc($ug).'" class="aclgroup"'.$sel.'>'.hsc($ug).'</option>'.NL; 775 … echo ' <option value="'.hsc($ug).'" class="acluser"'.$sel.'>'.hsc($ug).'</option>'.NL; 782 $sel = ' selected="selected"'; 785 $sel = ''; 789 … echo ' <option value="'.hsc($ug).'" class="aclgroup"'.$sel.'>'.hsc($ug).'</option>'.NL; 791 … echo ' <option value="'.hsc($ug).'" class="acluser"'.$sel.'>'.hsc($ug).'</option>'.NL;
|
/plugin/do/scripts/ |
H A D | PluginDo.js | 516 var sel = DWgetSelection(PluginDo.textarea); variable 517 if (sel.start === 0 && sel.end === 0) sel = PluginDo.old_select; 519 var stxt = sel.getText(); 531 pasteText(sel, stxt);
|
/plugin/fastwiki/ |
H A D | script.js | 232 var sel = DWgetSelection($edit_text[0]); 233 sel.start = 0; 234 sel.end = 0; 236 DWsetSelection(sel); 242 DWsetSelection(sel); 281 var sel = DWgetSelection($edit_text[0]); 282 sel.start = 0; 283 sel.end = 0; 284 DWsetSelection(sel);
|
/plugin/xcom/ |
H A D | script.js | 598 function xcom_select(sel) { argument 599 var which =sel.options[sel.selectedIndex].value; 723 var sel = document.getElementById('xcom_sel'); 724 if(sel) { 731 sel.add(newopt);
|
/plugin/ckgdoku/ckeditor/plugins/fontAssist/ |
H A D | plugin.js.unc | 210 var createSelectList = function(sel, list) { 213 sel.options[sel.options.length] = new Option(elems[0],elems[1]); 217 var updateSelectList = function (sel, item) { 219 for(var i = 0; i < sel.options.length; i++) { 220 var regex = new RegExp(sel.options[i].label,"i"); 222 sel.options[i].selected = true; 646 var sel = ckgedit_getEID(this,'general','fontopts'); 647 updateSelectList(sel,original_styles['font']); 648 sel = ckgedit_getEID(this,'general','sizeopts'); 649 updateSelectList(sel,original_styles['font_size']);
|
/plugin/ckgedit/ckeditor/plugins/fontAssist/ |
H A D | plugin.js.unc | 210 var createSelectList = function(sel, list) { 213 sel.options[sel.options.length] = new Option(elems[0],elems[1]); 217 var updateSelectList = function (sel, item) { 219 for(var i = 0; i < sel.options.length; i++) { 220 var regex = new RegExp(sel.options[i].label,"i"); 222 sel.options[i].selected = true; 646 var sel = ckgedit_getEID(this,'general','fontopts'); 647 updateSelectList(sel,original_styles['font']); 648 sel = ckgedit_getEID(this,'general','sizeopts'); 649 updateSelectList(sel,original_styles['font_size']);
|