Home
last modified time | relevance | path

Searched refs:selection (Results 1 – 7 of 7) sorted by relevance

/dokuwiki/lib/scripts/
Dtextselection.js57 function DWsetSelection(selection){ argument
58 selection.obj.setSelectionRange(selection.start, selection.end);
59 if(selection.scroll) selection.obj.scrollTop = selection.scroll;
73 function pasteText(selection,text,opts){ argument
77 selection.obj.value =
78 selection.obj.value.substring(0, selection.start) + text +
79 selection.obj.value.substring(selection.end, selection.obj.value.length);
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
91 if(opts.startofs) selection.start += opts.startofs;
[all …]
Deditor.js132 var selection = DWgetSelection(this);
133 if(selection.getLength() > 0) {
136 var search = "\n"+this.value.substr(0,selection.start);
153 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) {
155 this.value.substr(selection.start);
156 selection.start = linestart + 1;
157 selection.end = linestart + 1;
158 DWsetSelection(selection);
175 selection.start = selection.start - 2;
176 selection.end = selection.start;
[all …]
Dlinkwiz.js24 selection = null; field in LinkWizard
217 let selection;
224 selection = DWgetSelection(this.textArea);
225 if (selection.start === 0 && selection.end === 0) {
226 selection = this.selection;
230 linkTitle = selection.getText();
233 selection.end--;
234 linkTitle = selection.getText();
244 pasteText(selection, syntax.link, syntax);
331 this.selection = DWgetSelection(this.textArea);
Dtoolbar.js104 selection = DWgetSelection(jQuery('#'+edid)[0]);
111 if(selection.getLength()){
112 sample = selection.getText();
124 pasteText(selection,sample,opts);
Dmedia.js933 var selection = DWgetSelection(textArea);
934 selection.end = selection.end + 2;
935 var charsAfterCursor = selection.getText();
945 selection.start = selection.start + 2;
946 DWsetSelection(selection);
/dokuwiki/lib/plugins/config/
Dstyle.css132 #config__manager tr.protected .selection {
139 #config__manager .selection {
144 [dir=rtl] #config__manager .selection {
150 #config__manager .selection label {
/dokuwiki/vendor/geshi/geshi/
DCHANGELOG515 …- Added new GESHI_HEADER_PRE_TABLE type which can be used to prevent linenumber-selection in Fire…