Home
last modified time | relevance | path

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

12345678910>>...15

/plugin/edittable/script/
H A Dcontextmenu.js14 edittable.cellArray = function (selection) { argument
16 … for (var currentRow = selection.start.row; currentRow <= selection.end.row; currentRow += 1) {
17 … for (var currentCol = selection.start.col; currentCol <= selection.end.col; currentCol += 1) {
65 var row = selection[0];
66 var col = selection[1];
84 var row = selection[0];
85 var col = selection[1];
103 var row = selection[0];
104 var col = selection[1];
124 var amount = selection.end.row - selection.start.row + 1;
[all …]
/plugin/ckgedit/ckeditor/plugins/tableselection/styles/
H A Dtableselection.css1 .cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::sele…
5 .cke_table-faked-selection {
9 .cke_table-faked-selection a {
12 .cke_editable:focus .cke_table-faked-selection {
13 /* We have to use !important here, as td might specify it's own background, thus table selection
18 .cke_editable:focus .cke_table-faked-selection a {
21 .cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
24 .cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
/plugin/ckgdoku/ckeditor/plugins/tableselection/styles/
H A Dtableselection.css1 .cke_table-faked-selection-editor *::selection, table.cke_table-faked-selection-table *::selection {
5 .cke_table-faked-selection-editor {
7 It will force repaint (without reflow) so that selection is properly displayed. */
11 .cke_table-faked-selection {
15 .cke_table-faked-selection a {
18 .cke_editable:focus .cke_table-faked-selection {
19 /* We have to use !important here, as td might specify it's own background, thus table selection
24 .cke_editable:focus .cke_table-faked-selection a {
27 .cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
30 .cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
/plugin/diagrams/script/
H A Dembed-toolbar.js14 const selection = DWgetSelection(area);
20 // we ignore any selection and only use cursor position
21 selection.end = selection.start;
24 const start = area.value.lastIndexOf(open, selection.start);
25 const end = area.value.indexOf(close, selection.end);
28 const prev = area.value.lastIndexOf(close, selection.start - close.length);
29 const next = area.value.indexOf(open, selection.start + open.length);
32 if (start < min) return selection;
33 if (prev > -1 && prev > min && start < prev) return selection;
[all...]
/plugin/commentsyntax/
H A Dscript.js12 var selection = DWgetSelection(document.getElementById('wiki__text'));
13 if (selection.getLength()) {
14 comment = selection.getText();
15 prevchar = selection.obj.value.substring(selection.start-1,selection.start);
16 nextchar = selection.obj.value.substring(selection.end,selection.end+1);
35 pasteText(selection, comment);
53 pasteText(selection, comment);
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckselection_ie.js31 var ieType = FCK.EditorDocument.selection.type ;
52 var oRange = FCK.EditorDocument.selection.createRange() ;
55 return FCK.EditorDocument.selection.createRange().item(0) ;
90 var range = doc.selection.createRange() ;
104 FCK.EditorDocument.selection.empty() ;
127 var oRange = FCK.EditorDocument.selection.createRange() ;
138 if ( FCK.EditorDocument.selection.type == "Control" )
165 if ( FCK.EditorDocument.selection.type == "Control" )
167 oRange = FCK.EditorDocument.selection.createRange() ;
179 oRange = FCK.EditorDocument.selection.createRange() ;
[all …]
H A Dfckselection_gecko.js56 var selection = !!FCK.EditorWindow && FCK.EditorWindow.getSelection() ;
58 if ( selection && selection.anchorNode && selection.anchorNode.nodeType == 1 )
61 selectedElement = selection.anchorNode.childNodes[ selection.anchorOffset ] ;
69 selectedElement = selection.anchorNode ;
/plugin/toolbox/
H A DToolboxTextTools.js19 var selection = DWgetSelection(textarea);
20 if (!selection.getLength()) {
25 var text = selection.getText();
31 pasteText(selection, text, {});
41 var selection = DWgetSelection(textarea);
42 if (!selection.getLength()) {
47 var text = selection.getText();
58 pasteText(selection, text, {});
H A DToolboxCounter.js66 var selection = DWgetSelection(textarea);
67 if (selection.getLength()) {
68 var text = selection.getText();
103 html(toolbox_lang.selection, counts.csel, counts.wsel) +
/plugin/bookcreator/action/
H A Dhandleselection.php85 * Get POSTed selection
92 $selection = json_decode($INPUT->post->str('selection', '', true), true);
93 if(!is_array($selection)) {
94 $selection = array();
96 return $selection;
102 * @param array $selection
105 private function retrievePageInfo($selection) { argument
106 $response['selection'] = array();
107 foreach($selection a
168 saveSelection($savedSelectionName, $selection) global() argument
[all...]
/plugin/issuetracker/
H A DxsEditor.js8 if (document.selection)
11 var sel = document.selection.createRange();
39 { if (document.selection)
41 var sel = document.selection.createRange();
65 if (document.selection)
67 var sel = document.selection.createRange();
92 if (document.selection)
95 var sel = document.selection.createRange();
H A Dwysiwyg_editor.js25 } else if (typeof document.selection != "undefined") {
26 if (document.selection.type == "Text") {
27 html = document.selection.createRange().htmlText;
55 } else if (typeof document.selection != "undefined") {
56 if (document.selection.type == "Text") {
57 html = document.selection.createRange().htmlText;
/plugin/translatebutton/
H A Dtranslatebutton.js9 var selection = getSelection($(edid));
10 if(selection.getLength()){
11 sample = selection.getText();
/plugin/behave/
H A Dbehave.js176 } else if (document.selection) {
204 selection: function(){
378 var selection = utils.cursor.selection(),
382 if(selection){
384 var tempStart = selection.start;
392 var toIndent = val.substring(selection.start, selection.end),
404 … utils.editor.set( val.substring(0,selection.start) + toIndent + val.substring(selection.end) );
405 utils.cursor.set(selection.start, selection.start+toIndent.length);
413 … utils.editor.set( val.substring(0,selection.start) + toIndent + val.substring(selection.end) );
414 utils.cursor.set(selection.start, selection.start+toIndent.length);
[all …]
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.layout.editor.js21 …ngth;}else if(typeof document.selection!="undefined"&&document.selection.type!="Control"){var text…
24 ….prototype.getClientState=function(){var state={};var selection=window.getSelection();if(selection
25 state.range=selection.getRangeAt(0);if(state.range){state.startOffset=Syntax.Editor.getCharacterOff…
26 …[0][0],state.startOffset-nodes[0][1]);var selection=window.getSelection();selection.removeAllRange…
/plugin/wysiwyg/fckeditor/editor/_source/classes/
H A Dfckdomrange_ie.js32 var oSel = this.Window.document.selection ;
151 this.Window.document.selection.clear() ;
169 var selection = doc.selection ;
178 oRange = selection.createRange() ;
/plugin/shibbolethauth/
H A Dstyle.css65 #shibboleth__manager tr.protected .selection {
72 #shibboleth__manager .selection {
78 #shibboleth__manager .selection label {
85 * html #shibboleth__manager .selection label {
89 #shibboleth__manager .selection input.checkbox {
/plugin/syntaxhighlightjs/static/lib/highlightjs/styles/
H A Dhybrid.min.css1 …;background:#1d1f21}.hljs::selection,.hljs span::selection{background:#373b41}.hljs::-moz-selectio…
/plugin/markdownextra/lib/meltdown/js/
H A Djquery.meltdown.js31 var text, selection, before, placeholder, after, lineStart, lineEnd, charBefore, charAfter;
37 selection = thees.getSelection();
39 lineStart = text.lastIndexOf('\n', selection.start) + 1;
40 lineEnd = text.indexOf('\n', selection.end);
45 selection = thees.getSelection();
47 if(selection.length > 0) {
48 placeholder = selection.text;
52 charBefore = text.charAt(selection.start - 1 - i);
53 charAfter = text.charAt(selection.end + i);
62 if (selection.text !== placeholder) {
/plugin/crypto/js/
H A Dencrypt-dialog.js93 var selection = getSelection(dialog.textArea);
94 var text = selection.getText();
98 dialog.sack.setVar("data", escape(selection.getText()));
100 pasteText(selection, dialog.sack.response);
/plugin/indexmenu2/cms/extensions/
H A Ddocumentselection.js13selection?O.value.replace(/\r/g,""):O.value;return c.substring(Q,_);};this.getStart=function(O){tr…
/plugin/bookcreator/
H A Dscript.js5 * Storage object for an array with a selection of pages
15 * Is pageid in stored selection
41 * Move pageid inside selection to given position
53 * Delete pageid from selection
93 * Set a new selection at once and save
95 * @param {Array} selection
97 Storage.prototype.setSelection = function(selection) { argument
98 this._storage = selection;
112 * Save current selection in browser's localStorage
121 * Load selection fro
361 refillList($ul_selection, selection) global() argument
[all...]
/plugin/codemirror/dist/
H A Dstyles.min.css1selection,#dokuwiki__content .CodeMirror-gutter-wrapper ::selection{background-color:transparent}f…
/plugin/numbering/
H A Dscript.js70 var selection = DWgetSelection(txtarea);
71 add = selection.getText();
77 pasteText(selection,text);
/plugin/ckgdoku/ckeditor/plugins/link/
H A Dplugin.js.unc69 // Register selection change handler for the unlink button.
251 * Get the surrounding link element of current selection.
269 var selection = editor.getSelection();
270 if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT )
272 var selectedElement = selection.getSelectedElement();
277 var range = selection.getRanges( true )[ 0 ];
319 var selection = editor.getSelection(),
320 bookmarks = selection.createBookmarks(),
321 ranges = selection.getRanges(),
334 selection.selectRanges( ranges );
[all …]

12345678910>>...15