X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/media/vendor/codemirror/addon/hint
home
/
notabjze
/
narcev.com
/
media
/
vendor
/
codemirror
/
addon
/
hint
/
ðŸ“
..
📄
anyword-hint.js
(1.64 KB)
📄
anyword-hint.min.js
(791 B)
📄
anyword-hint.min.js.gz
(506 B)
📄
css-hint.js
(2.52 KB)
📄
css-hint.min.js
(1.5 KB)
📄
css-hint.min.js.gz
(785 B)
📄
html-hint.js
(11.19 KB)
📄
html-hint.min.js
(7.54 KB)
📄
html-hint.min.js.gz
(2.93 KB)
📄
javascript-hint.js
(6.69 KB)
📄
javascript-hint.min.js
(3.21 KB)
📄
javascript-hint.min.js.gz
(1.44 KB)
📄
show-hint.css
(623 B)
📄
show-hint.js
(19.51 KB)
📄
show-hint.min.js
(10.6 KB)
📄
show-hint.min.js.gz
(3.76 KB)
📄
sql-hint.js
(9.38 KB)
📄
sql-hint.min.js
(3.6 KB)
📄
sql-hint.min.js.gz
(1.57 KB)
📄
xml-hint.js
(5.57 KB)
📄
xml-hint.min.js
(2.35 KB)
📄
xml-hint.min.js.gz
(1.15 KB)
Editing: anyword-hint.min.js
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";var r=/[\w$]+/;e.registerHelper("hint","anyword",(function(t,o){for(var i=o&&o.word||r,n=o&&o.range||500,f=t.getCursor(),s=t.getLine(f.line),a=f.ch,c=a;c&&i.test(s.charAt(c-1));)--c;for(var l=c!=a&&s.slice(c,a),d=o&&o.list||[],u={},p=new RegExp(i.source,"g"),g=-1;g<=1;g+=2)for(var h=f.line,m=Math.min(Math.max(h+g*n,t.firstLine()),t.lastLine())+g;h!=m;h+=g)for(var y,b=t.getLine(h);y=p.exec(b);)h==f.line&&y[0]===l||l&&0!=y[0].lastIndexOf(l,0)||Object.prototype.hasOwnProperty.call(u,y[0])||(u[y[0]]=!0,d.push(y[0]));return{list:d,from:e.Pos(f.line,c),to:e.Pos(f.line,a)}}))}));
Upload File
Create Folder