Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 3.145.52.101
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
libjs-codemirror /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
activeline.html
3.26
KB
-rw-r--r--
2022-01-28 11:40
anywordhint.html
2.87
KB
-rw-r--r--
2022-01-28 11:40
bidi.html
4.88
KB
-rw-r--r--
2022-01-28 11:40
btree.html
2.94
KB
-rw-r--r--
2022-01-28 11:40
buffers.html
3.59
KB
-rw-r--r--
2022-01-28 11:40
changemode.html
1.78
KB
-rw-r--r--
2022-01-28 11:40
closebrackets.html
1.72
KB
-rw-r--r--
2022-01-28 11:40
closetag.html
1.58
KB
-rw-r--r--
2022-01-28 11:40
complete.html
4.4
KB
-rw-r--r--
2022-01-28 11:40
emacs.html
2.76
KB
-rw-r--r--
2022-01-28 11:40
folding.html
6.12
KB
-rw-r--r--
2022-01-28 11:40
fullscreen.html
3.53
KB
-rw-r--r--
2022-01-28 11:40
hardwrap.html
2.62
KB
-rw-r--r--
2022-01-28 11:40
html5complete.html
1.99
KB
-rw-r--r--
2022-01-28 11:40
indentwrap.html
2.62
KB
-rw-r--r--
2022-01-28 11:40
loadmode.html
2.31
KB
-rw-r--r--
2022-01-28 11:40
marker.html
1.53
KB
-rw-r--r--
2022-01-28 11:40
markselection.html
1.94
KB
-rw-r--r--
2022-01-28 11:40
matchhighlighter.html
4.89
KB
-rw-r--r--
2022-01-28 11:40
matchtags.html
1.48
KB
-rw-r--r--
2022-01-28 11:40
multiplex.html
2.25
KB
-rw-r--r--
2022-01-28 11:40
mustache.html
2.18
KB
-rw-r--r--
2022-01-28 11:40
panel.html
3.57
KB
-rw-r--r--
2022-01-28 11:40
placeholder.html
1.55
KB
-rw-r--r--
2022-01-28 11:40
preview.html
2.54
KB
-rw-r--r--
2022-01-28 11:40
requirejs.html
2.27
KB
-rw-r--r--
2022-01-28 11:40
resize.html
1.4
KB
-rw-r--r--
2022-01-28 11:40
rulers.html
1.45
KB
-rw-r--r--
2022-01-28 11:40
runmode-standalone.html
2.3
KB
-rw-r--r--
2022-01-28 11:40
runmode.html
2.36
KB
-rw-r--r--
2022-01-28 11:40
search.html
4.89
KB
-rw-r--r--
2022-01-28 11:40
simplemode.html
8.14
KB
-rw-r--r--
2022-01-28 11:40
simplescrollbars.html
5.1
KB
-rw-r--r--
2022-01-28 11:40
spanaffectswrapping_shim.html
3
KB
-rw-r--r--
2022-01-28 11:40
sublime.html
3.23
KB
-rw-r--r--
2022-01-28 11:40
theme.html
7.5
KB
-rw-r--r--
2022-01-28 11:40
trailingspace.html
1.61
KB
-rw-r--r--
2022-01-28 11:40
variableheight.html
2.12
KB
-rw-r--r--
2022-01-28 11:40
vim.html
4.32
KB
-rw-r--r--
2022-01-28 11:40
visibletabs.html
1.89
KB
-rw-r--r--
2022-01-28 11:40
xmlcomplete.html
3.78
KB
-rw-r--r--
2022-01-28 11:40
Save
Rename
<!doctype html> <title>CodeMirror: Any Word Completion Demo</title> <meta charset="utf-8"/> <link rel=stylesheet href="../html/docs.css"> <link rel="stylesheet" href="/usr/share/javascript/codemirror/lib/codemirror.css"> <link rel="stylesheet" href="/usr/share/javascript/codemirror/addon/hint/show-hint.css"> <script src="/usr/share/javascript/codemirror/lib/codemirror.js"></script> <script src="/usr/share/javascript/codemirror/addon/hint/show-hint.js"></script> <script src="/usr/share/javascript/codemirror/addon/hint/anyword-hint.js" id=anyword></script> <script src="/usr/share/javascript/codemirror/mode/javascript/javascript.js"></script> <div id=nav> <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../html/logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="../html/manual.html">Manual</a> <li><a href="https://github.com/codemirror/codemirror">Code</a> </ul> <ul> <li><a class=active href="#">Any Word Completion</a> </ul> </div> <article> <h2>Any Word Completion Demo</h2> <form><textarea id="code" name="code"> (function() { "use strict"; var WORD = /[\w$]+/, RANGE = 500; CodeMirror.registerHelper("hint", "anyword", function(editor, options) { var word = options && options.word || WORD; var range = options && options.range || RANGE; var cur = editor.getCursor(), curLine = editor.getLine(cur.line); var end = cur.ch, start = end; while (start && word.test(curLine.charAt(start - 1))) --start; var curWord = start != end && curLine.slice(start, end); var list = options && options.list || [], seen = {}; var re = new RegExp(word.source, "g"); for (var dir = -1; dir <= 1; dir += 2) { var line = cur.line, endLine = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir; for (; line != endLine; line += dir) { var text = editor.getLine(line), m; while (m = re.exec(text)) { if (line == cur.line && m[0] === curWord) continue; if ((!curWord || m[0].lastIndexOf(curWord, 0) == 0) && !Object.prototype.hasOwnProperty.call(seen, m[0])) { seen[m[0]] = true; list.push(m[0]); } } } } return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)}; }); })(); </textarea></form> <p>Press <strong>ctrl-space</strong> to activate autocompletion. The completion uses the <a href="../html/manual.html#addon_anyword-hint">anyword-hint.js</a> module, which simply looks at nearby words in the buffer and completes to those.</p> <script> CodeMirror.commands.autocomplete = function(cm) { cm.showHint({hint: CodeMirror.hint.anyword}); } var editor = CodeMirror.fromTextArea(document.getElementById("code"), { lineNumbers: true, extraKeys: {"Ctrl-Space": "autocomplete"} }); </script> </article>