Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 09:02:59 +0000 (17:02 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 09:02:59 +0000 (17:02 +0800)
Roo/form/HtmlEditor.js

index bb7be7f..908a70e 100644 (file)
@@ -318,7 +318,13 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                     break;
                 }
                 
-                this.el.dom.setSelectionRange(pos, pos);
+                if(!e.shiftKey){
+                    this.el.dom.setSelectionRange(pos, pos);
+                    return;
+                }
+                
+                
+                
             },
             
             "end" : function(e){