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

index e27d2b5..e8ec326 100644 (file)
@@ -275,11 +275,11 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                     return;
                 }
                 var pos = 0;
-                
+                Roo.log(curr);
                 for (var i = 0; i < lines.length;i++) {
                     
                     pos += lines[i].length;
-                    
+                    Roo.log(pos);
                     if(pos < curr){
                         continue;
                     }