From 83a624d98f7517f2232e0b28681b5dd73e89dcd3 Mon Sep 17 00:00:00 2001
From: Marijn Haverbeke <marijnh@gmail.com>
Date: Wed, 21 Aug 2013 10:57:43 +0200
Subject: [PATCH] [bidi demo] Turn off line wrapping, add note about bug

---
 demo/bidi.html | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/demo/bidi.html b/demo/bidi.html
index 082e7b3e2..4f1f8f3e4 100644
--- a/demo/bidi.html
+++ b/demo/bidi.html
@@ -58,8 +58,7 @@
     <script>
 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
   mode: "text/html",
-  lineNumbers: true,
-  lineWrapping: true
+  lineNumbers: true
 });
 </script>
 
@@ -67,4 +66,9 @@ var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
   the <a href="http://marijnhaverbeke.nl/blog/cursor-in-bidi-text.html">related
   blog post</a> for more background.</p>
 
-  </article>
+  <p><strong>Note:</strong> There is
+  a <a href="https://github.com/marijnh/CodeMirror/issues/1757">known
+  bug</a> with cursor motion and mouse clicks in bi-directional lines
+  that are line wrapped.</p>
+
+</article>
-- 
GitLab