File modules/editor/codemirror/mode/solr/index.html

Last commit: Sun Dec 17 01:14:09 2017 +0100	Jan Dankert	Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.
1 <!doctype html> 2 3 <title>CodeMirror: Solr mode</title> 4 <meta charset="utf-8"/> 5 <link rel=stylesheet href="../../doc/docs.css"> 6 7 <link rel="stylesheet" href="../../lib/codemirror.css"> 8 <script src="../../lib/codemirror.js"></script> 9 <script src="solr.js"></script> 10 <style type="text/css"> 11 .CodeMirror { 12 border-top: 1px solid black; 13 border-bottom: 1px solid black; 14 } 15 16 .CodeMirror .cm-operator { 17 color: orange; 18 } 19 </style> 20 <div id=nav> 21 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a> 22 23 <ul> 24 <li><a href="../../index.html">Home</a> 25 <li><a href="../../doc/manual.html">Manual</a> 26 <li><a href="https://github.com/codemirror/codemirror">Code</a> 27 </ul> 28 <ul> 29 <li><a href="../index.html">Language modes</a> 30 <li><a class=active href="#">Solr</a> 31 </ul> 32 </div> 33 34 <article> 35 <h2>Solr mode</h2> 36 37 <div> 38 <textarea id="code" name="code">author:Camus 39 40 title:"The Rebel" and author:Camus 41 42 philosophy:Existentialism -author:Kierkegaard 43 44 hardToSpell:Dostoevsky~ 45 46 published:[194* TO 1960] and author:(Sartre or "Simone de Beauvoir")</textarea> 47 </div> 48 49 <script> 50 var editor = CodeMirror.fromTextArea(document.getElementById("code"), { 51 mode: 'solr', 52 lineNumbers: true 53 }); 54 </script> 55 56 <p><strong>MIME types defined:</strong> <code>text/x-solr</code>.</p> 57 </article>
Download modules/editor/codemirror/mode/solr/index.html
History Sun, 17 Dec 2017 01:14:09 +0100 Jan Dankert Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.