projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f46637b
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:32:21 +0000
(14:32 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:32:21 +0000
(14:32 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
4b1a32a
..
4bbdc80
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-270,6
+270,7
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
this.setValue(value.substring(0, start) + "\t" + value.substring(end));
+ this.el.dom.setSelectionRange(end, end);
},
"home" : function(e){
@@
-299,7
+300,7
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
break;
}
- this.el.dom.setSelectionRange(pos, pos)
+ this.el.dom.setSelectionRange(pos, pos)
;
},
"end" : function(e){
@@
-328,7
+329,7
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
break;
}
- this.el.dom.setSelectionRange(pos, pos)
+ this.el.dom.setSelectionRange(pos, pos)
;
},
scope : this,