Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:05:31 +0000 (14:05 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:05:31 +0000 (14:05 +0800)
Roo/form/HtmlEditor.js

index 966d25b..7cf7a33 100644 (file)
@@ -286,7 +286,7 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                         continue;
                     }
                     
-                    pos -= lines[i].length;
+                    pos -= lines[i].length + 1;
                     
                     break;
                 }