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

index 7536fa7..a13be33 100644 (file)
@@ -263,6 +263,10 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                 e.preventDefault();
                 Roo.log('TAB');
                 
+                var start = this.el.dom.selectionStart;
+                var end = this.getValue().legnth;
+                
+                Roo.log(start);
                 
             },