move text area to cursor only when cursor is moved
This commit is contained in:
parent
7a50a070e9
commit
2f6a6ce7e0
5 changed files with 30 additions and 29 deletions
|
|
@ -175,6 +175,9 @@ var Cursor = function(parentEl) {
|
|||
if (overwrite != this.overwrite)
|
||||
this.$setOverite(overwrite);
|
||||
|
||||
// cache for textarea and gutter highlight
|
||||
this.$pixelPos = pixelPos;
|
||||
|
||||
this.restartTimer();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue