Fix mistype in setOverwrite of cursor layer.
This commit is contained in:
parent
e30ebc06b5
commit
750b591186
1 changed files with 2 additions and 2 deletions
|
|
@ -177,7 +177,7 @@ var Cursor = function(parentEl) {
|
|||
|
||||
var overwrite = this.session.getOverwrite();
|
||||
if (overwrite != this.overwrite)
|
||||
this.$setOverite(overwrite);
|
||||
this.$setOverwrite(overwrite);
|
||||
|
||||
// cache for textarea and gutter highlight
|
||||
this.$pixelPos = pixelPos;
|
||||
|
|
@ -185,7 +185,7 @@ var Cursor = function(parentEl) {
|
|||
this.restartTimer();
|
||||
};
|
||||
|
||||
this.$setOverite = function(overwrite) {
|
||||
this.$setOverwrite = function(overwrite) {
|
||||
this.overwrite = overwrite;
|
||||
for (var i = this.cursors.length; i--; ) {
|
||||
if (overwrite)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue