| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/lorient/media/vendor/codemirror/addon/fold/ |
Upload File : |
(function(e){typeof exports=="object"&&typeof module=="object"?e(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)})(function(e){"use strict";function o(n,t){var l=n.getLine(t),i=l.search(/\S/);return i==-1||/\bcomment\b/.test(n.getTokenTypeAt(e.Pos(t,i+1)))?-1:e.countColumn(l,null,n.getOption("tabSize"))}e.registerHelper("fold","indent",function(n,t){var l=o(n,t.line);if(!(l<0)){for(var i=null,f=t.line+1,u=n.lastLine();f<=u;++f){var r=o(n,f);if(r!=-1)if(r>l)i=f;else break}if(i)return{from:e.Pos(t.line,n.getLine(t.line).length),to:e.Pos(i,n.getLine(i).length)}}})});