Sha256: 12ec0c3a520d8c58c31800acdcf79be324477a6dd019104a53ce60cdf527a47c

Contents?: true

Size: 1.53 KB

Versions: 21

Compression:

Stored size: 1.53 KB

Contents

<!doctype html>

<title>CodeMirror: Trailing Whitespace Demo</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../doc/docs.css">

<link rel="stylesheet" href="../lib/codemirror.css">
<script src="../lib/codemirror.js"></script>
<script src="../addon/edit/trailingspace.js"></script>
<style type="text/css">
      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
      .cm-trailingspace {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg==);
        background-position: bottom left;
        background-repeat: repeat-x;
      }
    </style>
<div id=nav>
  <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../doc/logo.png"></a>

  <ul>
    <li><a href="../index.html">Home</a>
    <li><a href="../doc/manual.html">Manual</a>
    <li><a href="https://github.com/codemirror/codemirror">Code</a>
  </ul>
  <ul>
    <li><a class=active href="#">Trailing Whitespace</a>
  </ul>
</div>

<article>
<h2>Trailing Whitespace Demo</h2>
<form><textarea id="code" name="code">This text  
 has some	 
trailing whitespace!</textarea></form>

    <script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
  lineNumbers: true,
  showTrailingSpace: true
});
</script>

<p>Uses
the <a href="../doc/manual.html#addon_trailingspace">trailingspace</a>
addon to highlight trailing whitespace.</p>

  </article>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
jeygeethanmedia-inkpen-1.2.6.2 public/codemirror/demo/trailingspace.html
jeygeethanmedia-inkpen-1.2.6.1 public/codemirror/demo/trailingspace.html
lines-engine-1.2.6.1 public/codemirror/demo/trailingspace.html
lines-engine-1.2.6 public/codemirror/demo/trailingspace.html
lines-engine-1.2.5 public/codemirror/demo/trailingspace.html
lines-engine-1.2.3 public/codemirror/demo/trailingspace.html
lines-engine-1.2.2 public/codemirror/demo/trailingspace.html
lines-engine-1.2.1.1 public/codemirror/demo/trailingspace.html
lines-engine-1.2.1 public/codemirror/demo/trailingspace.html
lines-engine-1.2 public/codemirror/demo/trailingspace.html
lines-engine-1.1.5.3 public/codemirror/demo/trailingspace.html
lines-engine-1.1.5.2 public/codemirror/demo/trailingspace.html
lines-engine-1.1.5.1 public/codemirror/demo/trailingspace.html
lines-engine-1.1.5 public/codemirror/demo/trailingspace.html
lines-engine-1.1.4 public/codemirror/demo/trailingspace.html
lines-engine-1.1.3 public/codemirror/demo/trailingspace.html
lines-engine-1.1.2 public/codemirror/demo/trailingspace.html
lines-engine-1.1.1 public/codemirror/demo/trailingspace.html
lines-engine-1.1.0 public/codemirror/demo/trailingspace.html
lines-engine-1.0.0 public/codemirror/demo/trailingspace.html